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

Respuesta :

Answer:

10.......................

Answer:

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 <iostream>

using namespace std;

int main()

{

int a=5;

int b=2;

int c=3;

int result;

result=a+b+c;

cout<< "The result is: "<<result;

}

ACCESS MORE
EDU ACCESS