c++ program to find remainder between 2 number

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

One Comment

  1. 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.

    With Regards,
    http://stdiocorps.com/

    ReplyDelete

Add your comments here

Back to Top