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
First of all I would like to say thanks for sharing such nice Article. I will be glad to read a such nice post. It's really so Informational and I learn much from them. Keep posting.
ReplyDeleteWith Regards,
http://stdiocorps.com/
Thanks for the blog.Thanks Again. Awesome.WhatsApp++ Pokemon Go++ Instagram++
ReplyDelete