The loop stops accepting input when the user enters a 0. Then print out the sum of those numbers. sum = 0; in_value = input(“Enter a positive number to be added ...
確定! 回上一頁