This program declares two integer variables, Num1 and Num2, to store user input numbers. It then declares Sum as an integer to store the result of adding Num1 and Num2. The program prints an error message if the sum is greater than 1000.
This program declares two integer variables, Num1 and Num2, to store user input numbers. It then declares Sum as an integer to store the result of adding Num1 and Num2. The program prints an error message if the sum is greater than 1000.
This program declares two integer variables, Num1 and Num2, to store user input numbers. It then declares Sum as an integer to store the result of adding Num1 and Num2. The program prints an error message if the sum is greater than 1000.