Friday, September 1, 2023

Create an universal program to add two integer numbers

// Create an universal program to add two integer numbers

 #include <iostream>

using namespace std;

int main()

{ int a,b,c;

cout <<"a=";

cin >> a;

cout <<"b=";

cin >> b;

c=a+b;

cout << a<<"+"<<b<<"="<<c;

    return 0;

}

No comments:

Post a Comment

NaCl.xyz Generator with Interactive 3D Visualization

NaCl.xyz Generator with Interactive 3D Visualization NaCl.xyz Generator with Interactive 3D Visualization ...