// keep on taking input from the user until user enters an odd number
#include <stdio.h>
int main() {
int n;
while(n%2==0){
printf("Enter number : ");
scanf("%d",&n);
printf("%d\n",n);
}
return 0;
}
// do same using for loop and do while loop
// keep taking numbers as input from user until user enters a number which is a multiple of 7
// print reverse of the table for a number n
To embed this project on your website, copy the following code and paste it into your website's HTML: