FOR loop
Posted: December 3rd, 2022, 2:11 am
Hello community.
I need to ask how many buildings there are in a school and for each building, fill in the same questions.
what the number of buildings of school? nr_buildings
if nr_buildings = 3
run loop 3 times with the same questions:
q1
q2
q3
q4
q5
end loop
Has anyone implemented this in cspro? what is the best way to receive the value in a variable and make the loop bringing the same questions to each building?
Best
I need to ask how many buildings there are in a school and for each building, fill in the same questions.
what the number of buildings of school? nr_buildings
if nr_buildings = 3
run loop 3 times with the same questions:
q1
q2
q3
q4
q5
end loop
Has anyone implemented this in cspro? what is the best way to receive the value in a variable and make the loop bringing the same questions to each building?
Best