Answer:
80
Step-by-step explanation:
Answer:
457 pesos
Step-by-step explanation:
From the above question, we are told that:
David bought 23 pens and 15 pencils.
Each pen = 14 pesos
Each pencil = 9 pesos
The amount of money David spent in total =
(23 × 14 pesos) + (15 × 9 pesos)
= 322 pesos + 135 pesos
= 457 pesos
Therefore, David spent in total 457 pesos
Answer:
9
Step-by-step explanation:
I looked it up
Answer:
(a) 4i times
(b) "i × n" times
Step-by-step explanation:
(a) Given the algorithm segment;
for i := 1 to 4, (Outer loop)
for j := 1 to i (Inner loop)
next j,
next i
The inner loop runs for i times, while the outer loop runs for 4 times.
The total times the inner loop would run when the entire algorithm is run is:
= i × 4
= 4i times
(b) Given the algorithm segment;
for i := 1 to n, (Outer loop)
for j := 1 to i (Inner loop)
next j,
next i
Where n is a set of positive integers.
The inner loop runs for "i" times, while the outer loop runs for "n" times.
The total times the inner loop would run when the entire algorithm is run is:
= i × n
= "i × n" times
4.5 cm 1meter 1 km
* --------- * --------- = .000045 km
100 cm 1000m
4.5*10^-5 km