This is how I would go about it:
1. Ask user to key in numbers. I could take each number in a single line.
2. save each input in a vector.
3. print out the vector starting at location (vector.size()-1) to location 0
Answer:
Home Tab
Explanation:
The copy and paste menu are in the clipboard group.
The clipboard group is on the far left of the Home Tab. It is often used in conjunction with the Editing group, which is on the far right of that tab.
To open the Clipboard task pane, click Home, and then click the Clipboard dialog box launcher.
Answer:
a. engranaje 1 → engranaje 2 → engranaje 3 → engranaje 4
z1 = 10 z2 = 20 z3 =10 z4 = 20
b. n2 = 600 rpm, n3 = 1200 rpm, n4 = 600 rpm
la relacion de transmision = 2
Explanation:
where z1 = 10, z2 = 20, z3 = 10, z4 = 20
and n1 = 1200 rpm
n2 = n1 * z1/z2 = (1200 * 10)/ 20 = 600 rpm
n3 = n2 * z2/z3 = (600 * 20)/ 10 = 1200 rpm
n4 = n3 * z3/z4 = (1200 * 10)/ 20 = 600 rpm
la relacion de transmision = z2/z1 * z3/z2 * z4/z3
= 20/10 * 10/20 * 20/10 = 2 * 0.5 * 2 = 2
num = int(input("Enter a number: "))
i = 2
while num > 1:
if num % i == 0:
num = num / i
print(i, end=" ")
i = 2
i += 1
I hope this helps!