counter=0 #intialize counter variable while True: # true until the condition is met user_input=input("enter the command(write exit to close the loop): ") counter+=1 # ...
Just a program that takes user input to add numbers to a vector or display the numbers, amongst others. The function to display the options is called in a do while loop, as well as the switch for the ...