×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
#include
using namespace std; int main() { int x, y; int sum; cout << "Type a number: "; cin >> x; cout << "Type another number: "; cin >> y; sum = x + y; cout << "Sum is: " << sum; return 0; }
Type a number:
Type another number: