Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Print the next number which is divisible through 10
- printf("Geben Sie eine Zahl ein\n");
- scanf("%d",&m);
- i = m% 10;
- while (i != 0) {
- m++;
- i = m% 10;
- }
- printf("Next through 10 is: %d", m);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement