Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <stdio.h>
- int main()
- {
- int input,output;
- printf("Enter number : ");
- scanf("%i",&input);
- output = input % 7;
- printf("%i",output);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement