My Smart Blog
Basic information before you start C++ programs, quite simple and intresting.
Pages
Home
Applied Physics
Professional Ethics
Computer Programming
MUET Khairpur
Contact us
Write a program that tell remainder and Qoutient
include<iostream>
using namespace std;
int main()
{ int a = 20, b = 4;
cout << "Quotient = " << a / b << endl;
cout << "Remainder = "<< a % b << endl;
return 0;
}
Ø
Output of Program
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Total Pageviews
No comments:
Post a Comment