Consider the following pseudocode, then write the pseudocode for mainline logic that contains the elements required in Q.4.3.1 to Q.4.3.3.
String array1[5];
int i;
for i=0 to i<5:
if i==0 then
array1[i]="Labrador"
else if i==1 then
array1[i]="Poodle"
else if i==1 then
array1[i]="Terrier"
else if i==1 then
array1[i]="Spanniel"
else if i==1 then
array1[i]="Doberman"
Comments
Leave a comment