DevJourney · code I wrote while learning
main.cpp
278 B#include <iostream>
int main() {
int a, b, s;
std::cout << "Enter the first number: ";
std::cin >> a;
std::cout << "Enter the second number: ";
std::cin >> b;
s = a + b;
std::cout << "The sum of " << a << " and " << b << " is " << s << std::endl;
}