7x - 1 = 5x - 8
Minus 5x on each side
2x -1 = -8
Plus 1 on each side
2x = -7
Divide by 2 on each side
x = -7/2
The number is most likely -7/2
Answer:
for(j = n; j > 0; j--)
System.out.print(\"*\");
Step-by-step explanation:
-A for loop is a repetition control structure.
-It allows the efficiency to write a loop that would otherwise be written a couple of times.
-The output is a single line comprising n asterisks,
-The number of asterisks printed will be equivalent to the n-value declared.
Answer:2^3=8
6.2=12
Y=8-12+1= -3
Step-by-step explanation:
Answer: 8
Step-by-step explanation:
A.
If she will choose 8 from 12 photos, the total number of ways she can choose is given by a combination of 12 choose 8, since the order of the photos doesn't matter.
The formula for a combination of n choose p is:

For n = 12 and p = 8, we have:

So there are 495 ways.
B.
If she wants to arrange the 12 photos, the total number of ways is given by the factorial of 12:

There are 479,001,600 ways.
C.
Since 10 photos already have specific places, we need to calculate the number of ways to arrange the other two photos in the two remaining places.
In this case, there are only 2 ways of organizing the remaining two photos:
Photo 1 first, photo 2 last, or photo 1 last and photo 2 first.