#include <stdio.h>
#include <conio.h>
void main()
{
float number,remainder;
printf("Enter number: ");
scanf("%f", &number);
remainder=number%2;
printf("Remainder = %d", remainder);
remainder=number%3;
printf("Remainder = %d", remainder);
remainder=number%4;
printf("Remainder = %d", remainder);
getch();
}
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.