c++ program to find remainder
Program:-
Output:-
Enter a 1st number 52
Enter a 2nd number 3
Remainder of 52 and 3 is 1
Enter a 1st number 192
Enter a 2nd number 24
Remainder of 192 and 24 is 0
Note:-
Change 'div' variable from int to float to display answer in decimal value
ie
int num1, num2;
float div
Other part of program is same
Program:-
Output:-
Enter a 1st number 52
Enter a 2nd number 3
Remainder of 52 and 3 is 1
Enter a 1st number 192
Enter a 2nd number 24
Remainder of 192 and 24 is 0
Note:-
Change 'div' variable from int to float to display answer in decimal value
ie
int num1, num2;
float div
Other part of program is same
Thanks for the blog.Thanks Again. Awesome.WhatsApp++ Pokemon Go++ Instagram++
ReplyDelete