subject

•r4.4 what do these loops print?
a. for (int i = 1; i < 10; i++) { system. out. print(i + " "); }
b. for (int i = 1; i < 10; i += 2) { system. out. print(i + " "); }
c. for (int i = 10; i > 1; { system. out. print(i + " "); }
d. for (int i = 0; i < 10; i++) { system. out. print(i + " "); }
e. for (int i = 1; i < 10; i = ; * 2) { system. out. print(i + " "); }
f. for (int i = 1; i < 10; i++) { if (i % 2 == 0) { system. out. print(i + " "); } }

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 00:10, witerose701
Write a function so that the main0 code below can be replaced by the simpler code that calls function mphandminutes tomiles0. original main0 int main) l double milesperhour-70.0; double minutestraveled = 100.0; double hourstraveled; double milestraveled; hourstraveled = minutestraveled / 60.0; milestraveled = hourstraveled * milesperhour; cout < "miles" 2 using namespace std; 4 /* your solution goes here/ 6 int maino 1 test passed 7 double milesperhour 70.0 all tests passed 8 double minutestraveled 100.0; 10 cout < < "miles: " < < mphandminutestomiles(milesper-hour, minutestraveled) < < endl; 12 return 0; 13
Answers: 1
image
Computers and Technology, 23.06.2019 13:00, alexacarillo
In excel - calculate the actual increase/decrease from first quarter to the second quarter then subtract subtract first quarter value from second quarter total then divide result by first quarter value
Answers: 1
image
Computers and Technology, 23.06.2019 13:50, mrfishyyyy
Explain how email technologies enable the exchange of messages between users. find out the typical parts of an email address and explain each part.
Answers: 1
image
Computers and Technology, 23.06.2019 17:00, chrisgaz14
The more powerful, 60 volt cables and the main power shut off on an hev are both colored orange
Answers: 1
You know the right answer?
•r4.4 what do these loops print?
a. for (int i = 1; i < 10; i++) { system. out. print(i...

Questions in other subjects: