User Input / Output

Programming Fundamentals DSA practice problem on Onlearn.

Difficulty: easy.

Topics: Basic Structure and Input/Output in C++ Programming, Basic Arithmetic, Input/Output Operations, general programming, Program Skeleton, Library Inclusion (#include), Namespaces (std), Input/Output Streams (cin, cout), Newline & Buffer Handling, Data Types, Input Handling, Universal Header.

Problem Statement Write a basic C++ program to read two integers and print their sum. Input Specification The input will consist of two space separated integers, A and B, on a single line. Output Specification Print a single integer: the sum of A and B. Sample Test Cases Sample Input 1: Sample Output 1: Sample Input 2: Sample Output 2: