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 perfom addition on two numbers
#include<iostream>
using namespace std;
int main()
{
int a = 3, b = 5;
cout << a << '+' << b << '=' << (a+b);
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