b374k
v10
today : | at : | safemode : ON
> / home / facebook / twitter / youtube /
name author perms com modified label

Summation operator pramana rwxr-xr-x 1 2:55 am

Filename Summation operator
Permission rw-r--r--
Author pramana
Date and Time 2:55 am
Label
Action
Algorithm of this program [ Summation OPERATOR ]:
1. input the first number and second number
2. enter the formula
3. show the results

C++
#include<iostream>
using namespace std;
int main(){
 int a,b,c;
 cout<<"Calculated using the operator + "<<endl;;
 cout<<"Input the first number : "<<endl;
 cin>>a;
 cout<<"Input the second number : "<<endl;
 cin>>b;
 c = a + b ;
 cout<<a<<" + "<<b<<" = "<<c<<endl;
 return 0;
}

1 comments:

pramana said...

i use g++ in ubuntu

Post a Comment

 

Jayalah Indonesiaku © 2010 Pramana's BLOG
VB (Vio b374k) Template design by p4r46hcyb3rn3t