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: Josh borrowed $ 876 to buy the computer.
Step-by-step explanation:
Formula for simple interest : I = Prt
, where P = principal amount
r= rate of interest ( in decimal)
t=time (in years)
Total amount with simple interest to pay : A = P+I
⇒ A = P +Prt
⇒ A = P(1 +rt) (i)
As per given , A = $1,244.34
r= 12.4% = 0.124
t= 3 years
Now, put these values in (i) , we get

Hence, Josh borrowed $ 876 to buy the computer.
Step-by-step explanation:
Original price : $130
Discount : 35% × $130
= $45.50
sale price : $130 - $45.50
= $84.50
Answer:
60.
Step-by-step explanation:
I guess you mean the LCM (Lowest Common Multiple):
12 = 2 * 2 * 3
30 = 2 * 3 * 5
We see there are duplicate 2's and 3's so:
So the LCM is 2 * 2 * 3 * 5 = 60.
(the duplicates only appear once in the calculation).
Answer:
B. 41
Step-by-step explanation:
took the test and got it correct :)