Sunday, March 21, 2021

 Addiition of two Number using cpp


#include<iostream.h>

using namespace std;

int main()

{

        int a,b,c;

        cout<<"Enter the value of a:"<<endl;

        cin>>a;

        cout<<"Enter the value of b:"<<endl;

        cin>>b;

        c=a+b;

        cout<<"The addition of a and b is:"<<endl;

        cin>>c;

        return 0;

}

No comments:

Post a Comment