subject

Int a, z=1; double i, m=1,s=0,b=1;
System. out. print("Enter the number:");
a=scan. nextInt();
for (int v=11 ; v>=1; v--)
{
z=v*z;
}
for (i=1; i<=a; i--) {
for (m=1; m<=11; m++)
{
if(m%2==1)
{
b=b*m;
}
}
s=s+b/z;
}
}
System. out. printin(s);

(Is this correct please someone check)

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 20:30
Write a program that reads the file, then displays the average number of steps taken for each month. (the data is from a year that was not a leap year, so february has 28 days.) your program needs to use at least 3 functions not counting main and display the information in a neat well formatted fashion.
Answers: 3
question
Computers and Technology, 23.06.2019 13:30
Stops: using the information learned in this course, explain three things you will not do when driving. a. b. c. explain why you will not do these things when driving. starts: using the information learned in this course, explain three things you will do when driving. a. b. c. explain why you will do these particular things when driving. explain one thing you will stop doing as a passenger. explain one thing you will start doing as a passenger.
Answers: 3
question
Computers and Technology, 23.06.2019 19:00
Acompany is hiring professionals for web designing. the firm is small with few resources. they want employees who possess problem-solving skills and can independently carry out responsibilities. which kind of employee should they select?
Answers: 2
question
Computers and Technology, 23.06.2019 22:30
Lakendra finished working on her monthly report. in looking it over, she saw that it had large blocks of white space. what steps could lakendra take to reduce the amount of white space?
Answers: 3
You know the right answer?
Int a, z=1; double i, m=1,s=0,b=1;
System. out. print("Enter the number:");
a=scan. ne...
Questions
question
Mathematics, 06.07.2019 23:50
question
Geography, 06.07.2019 23:50
question
Mathematics, 06.07.2019 23:50