Ask Question
12 December, 07:12

11. If the following pseudocode were an actual program, what would it display:

Declare Integer a = 5

Declare Integer b = 2

Declare Integer c = 3

Declare Integer result

Set result = a + b + c

Display result

+2
Answers (2)
  1. 12 December, 07:30
    0
    10

    Explanation:

    This pseudo code display the result of 3 integer numbers. In this program, 4 integer variables are declared such a, b, c and result. The integer variables a, b and c has the values 5,2 and 3 respectively.

    Then these 3 integer variables a, b and c values are added (5+2+3) and their addition result stored in result variable.

    e. g in C++

    #include

    using namespace std;

    int main ()

    {

    int a=5;

    int b=2;

    int c=3;

    int result;

    result=a+b+c;

    cout<< "The result is: "<
    }
  2. 12 December, 07:42
    0
    10 ...
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “11. If the following pseudocode were an actual program, what would it display: Declare Integer a = 5 Declare Integer b = 2 Declare Integer ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers