Computers and Technology

Java public class odds { public static void main(string[] args) { printodds(3); printodds(17/2); int x = 25; printodds(37 – x +1); } public static void printodds(int n) { for (int i = 1; i < = n; i++) { int odd = 2*i -1; system. out. print(odd + " "); } system. out. println(); } }
write the output.

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 22:30, jacob7542
The qwerty keyboard is the most common layout of keys on a keyboard
Answers: 3
image
Computers and Technology, 23.06.2019 00:00, addisonrausch
What season was better from fortnite?
Answers: 2
image
Computers and Technology, 24.06.2019 08:00, nataliamontirl4230
Java the manager of a football stadium wants you to write a program that calculates the total ticket sales after each game
Answers: 1
image
Computers and Technology, 24.06.2019 12:30, nomood
Select all that apply. what two keys listed below should you use to enter data in an excel worksheet? tab backspace enter right arrow
Answers: 2
Do you know the correct answer?
Java public class odds { public static void main(string[] args) { printodds(3); printodds(17/2); i...

Questions in other subjects:

Konu
Mathematics, 16.03.2020 02:46
Konu
History, 16.03.2020 02:46