Answer to Question #212947 in Java | JSP | JSF for nothando

Question #212947

Write the pseudocode that will populate an array of type string with data. The array is called dogBreeds and the following values must be loaded: Labrador, Poodle, Terrier, Spanniel, Doberman. 


1
Expert's answer
2021-07-03T04:47:55-0400
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"

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS