subject

System. out. print(); System. out. print("Enter a number less than
100: ");

num = Expo. enterInt();

for (int i=1; I <= num; I++){

if(num %2!=0)

System. out. println(num + " is odd");
else

System. ouy. println(num +"is even")

}

System. out. println();
}
}

Say I enter 5. The loop makes 5 show up 5 times instead of the numbers 1-5 saying if it's even or odd​

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 15:00
Plz ( which is an example of a good url?
Answers: 1
question
Computers and Technology, 24.06.2019 01:00
The initial tableau of a linear programming problem is given. use the simplex method to solve it. x 1 x 2 x 3 s 1 s 2 z 1 2 4 1 0 0 8 3 4 1 0 1 0 10 minus3 minus12 1 0 0 1 0 the maximum is nothing when x 1equals nothing, x 2equals nothing, x 3equals nothing, s 1equals3, and s 2equals0. (be sure to simplify to lowest terms if necessary.)
Answers: 2
question
Computers and Technology, 24.06.2019 11:30
What does the https: // mean when you type in a website
Answers: 1
question
Computers and Technology, 25.06.2019 01:30
If the average computer chip had 1,200 transistors per square inch in 1970, approximately how many transistors per square inch would one have in 1976? use moore's law to calculate your answer
Answers: 1
You know the right answer?
System. out. print(); System. out. print("Enter a number less than
100: ");

num =...
Questions
question
Mathematics, 29.05.2020 07:02
question
Mathematics, 29.05.2020 07:02
question
Mathematics, 29.05.2020 07:02
question
Mathematics, 29.05.2020 07:02
question
Mathematics, 29.05.2020 07:02
question
Health, 29.05.2020 07:02
question
Mathematics, 29.05.2020 07:02
question
Social Studies, 29.05.2020 07:03
Questions on the website: 13722360