subject

Which of these loops will initialize each element in the array ar to hold the value 4 ? a. for (int i = 1; i < ar. length; i++ ) ar[i] = 4;
b. for (int i = 0; i < = ar. length; i++ ) ar[i] = 4;
c. for (int i = 0; i < ar. length - 1; i++ ) ar[i] = 4; 0%
d. for (int i = 0; i < ar. length; i++) ar[i] = 4;

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 04:31
Q13 what function does a security certificate perform? a. creates user accounts b. scrambles data c. identifies users d. creates password policies e. provides file access
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
If you're using an existing powerpoint presentation that will receive new slides based on a word outline, select the a. slide that will appear after the new slides. b. first slide in the presentation. c. slide that will appear before the new slides. d. last slide in the presentation.
Answers: 2
question
Computers and Technology, 23.06.2019 21:00
Will this setup result in what kathy wants to print?
Answers: 2
question
Computers and Technology, 24.06.2019 01:30
Could you find out how im still getting an 83 percent on this in edhesive a = input("enter an animal: ") s = input ("enter a sound: ") e = "e-i-e-i-o" print ("old macdonald had a farm, " + e) print ("and on his farm he had a " + a + "," + e) print ("with a " + s + "-" + s + " here and a " + s + "-" + s + " there") print ("here a " + s+ " there a " + s) print ("everywhere a " + s + "-" + s ) print ("old macdonald had a farm, " + e)
Answers: 2
You know the right answer?
Which of these loops will initialize each element in the array ar to hold the value 4 ? a. for (int...
Questions
Questions on the website: 13722363