Search This Blog

Friday, 21 August 2020

addition in cpp

 #include<iostream>

using namespace std;

int main()

{

int a,b,c;

cout<<"enter the 1st element:";

cin>>a;

cout<<"enter the 2nd element :";

cin>>b;

c=a+b;

cout<<"addition Is:"<<c;

return 0;

}


No comments:

Post a Comment

Search This Blog

Contact Form

Name

Email *

Message *

Popular Posts