我想要做的,是写一个程序,给定用户输入的实数序列,计算平均值。输入序列应该通过输入‘end’来完成。要输入1个以上的数字,我会尝试: num=input("Enter the number: ")
while num!我应该写什么到输入,然后使用多个值,而不是特定数量的值?用户应该可以输入这些值,直到他们输入'end‘。所有的值都需要在以后用来计算平均
好的,到目前为止,编码:public class Ticket // Method : Display the ticket details and the list of LuckySystem.out.print(numberLine[i] + " "); System.out.print(" **\n"); }** **
****