Write a for loop that iterates numAges times. Each iteration: Assign userAge with the next input. Then, put userAge to output. Then, put ":" to output. Ex: If input is: 3 2 6 1, then output is: 2:6:1:
integer numAges
integer userAge
integer i
// Program tested with three inputs:
// First: 3 2 6 1
// Second: 2 6 4 7 2
// Third: -1 3 4
numAges = Get next input
for i=0; i