what will be the output when num=3 and values are passed in order 2,1,6? set integer res=0 input num for c=1 to num step 1 do input value res+=value res++ end-for display res
Answers
Answered by
1
Answer:
12
Explanation:
Answered by
0
Answer:
Output= 12
Explanation:
GIVEN- num=3
values are passed in order 2,1,6?
set integer res=0 input num for c=1 to num step 1 do input value res+=value res++ end-for display res
TO FIND- output number
ANSWER- output number = 12
Output is defined as the act of producing something, the amount of something that is produced or the process in which something is delivered.
An example of output is the electricity produced by a power plant.
An example of output is producing 1,000 cases of a product.
An example of output when you deliver information on a disk or tape.
FINAL ANSWER - 12
#SPJ3
Similar questions