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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 06:00, jack487
How can a user delete a drawing object
Answers: 1
image
Computers and Technology, 24.06.2019 12:50, opgbadwolf5
When is it most apprpriate for a development team to change the definition of done
Answers: 1
image
Computers and Technology, 25.06.2019 02:30, gabby0148
On the pie chart below, which “slice” represents 30% of the budget?
Answers: 2
image
Computers and Technology, 25.06.2019 08:50, adriandehoyos1p3hpwc
98 points asap you have been asked to create a program for an online store that sells their items in bundles of five. select the appropriate code that would display how many bundles are available for sale. a. print(5 // totalitems) b. print(totalitems // 5) c. print(totalitems(5) ) d. print(5(totalitems) )
Answers: 2
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 in other subjects:

Konu
Mathematics, 16.12.2021 02:30
Konu
Mathematics, 16.12.2021 02:30