#include <stdio.h> int main(void) { unsigned int s; int i; int e; printf("insert starting number: "); scanf("%d",&s); printf("insert number to count by: "); scanf("%d",&i); printf("insert number to stop counting to: "); scanf("%d",&e); while (s<=e) { printf("%u\n",s+=i); } return 0; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)