subject

What output is produced by the following program?
public class weird {
public static void main(string[] args) {
int number = 8;
halfthefun(11);
halfthefun(2 - 3 + 2 * 8);
halfthefun(number);
system. out. println("number = " + number); }
public static void halfthefun(int number) {
number = number / 2;
for (int count = 1; count < = number; count++) {
system. out. print(count + " "); }
system. out. println();
}
}

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 07:30
In the film "epic 2015," epic is the name for:
Answers: 3
question
Computers and Technology, 22.06.2019 23:00
In which part of a professional email should you try to be brief, but highly descriptive?
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Barbara is interested in pursuing a career in the science and math pathway. which qualifications will her reach that goal? a.an advanced knowledge of physics and math b.an advanced knowledge of engineering and math c. an advanced knowledge of physics and robotics an d. advanced knowledge of machinery and math
Answers: 2
question
Computers and Technology, 24.06.2019 01:00
What are two ways to access the options for scaling and page orientation? click the home tab, then click alignment, or click the file tab. click the file tab, then click print, or click the page layout tab. click the page layout tab, or click the review tab. click the review tab, or click the home tab?
Answers: 2
You know the right answer?
What output is produced by the following program?
public class weird {
public static v...
Questions
question
Mathematics, 24.06.2019 07:00
Questions on the website: 13722363