Biology Forums - Study Force

Science-Related Homework Help Computer Studies Topic started by: ian18 on May 4, 2018



Title: What is the output of the code corresponding to the following pseudocode?Declare Y As IntegerDeclare ...
Post by: ian18 on May 4, 2018
What is the output of the code corresponding to the following pseudocode?
Declare Y As Integer
Declare X As Integer
For (Y = 1; Y <=2; Y++)
For (X = 3; X <= 4; X++)
Write Y * X
End For(X)
End For(Y)

a.   3
4
6
8   b.   4
5
5
6   c.   1
3
2
4   d.   3  4
6  8


Title: Re: What is the output of the code corresponding to the following pseudocode?Declare Y As ...
Post by: penia_smiles on May 4, 2018
Content hidden