Microsoft Small Basic

Program Listing: FBC532
TextWindow.ForegroundColor="White"
TextWindow.WriteLine("*************************")
TextWindow.WriteLine("*******Five Number*******")
TextWindow.WriteLine("*************************")
start:
TextWindow.WriteLine("")
TextWindow.ForegroundColor="Yellow"
TextWindow.WriteLine("The First Number is:")
TextWindow.ForegroundColor="White"
num1=TextWindow.ReadNumber()
TextWindow.ForegroundColor="Yellow"
TextWindow.WriteLine("The Second Number is:")
TextWindow.ForegroundColor="White"
num2=TextWindow.ReadNumber()
TextWindow.ForegroundColor="Yellow"
TextWindow.WriteLine("The Third Number is:")
TextWindow.ForegroundColor="White"
num3=TextWindow.ReadNumber()
TextWindow.ForegroundColor="Yellow"
TextWindow.WriteLine("The Fourth Number is:")
TextWindow.ForegroundColor="White"
num4=TextWindow.ReadNumber()
TextWindow.ForegroundColor="Yellow"
TextWindow.WriteLine("The Fifth Number is:")
TextWindow.ForegroundColor="White"
num5=TextWindow.ReadNumber()
sum=num1+num2+num3+num4+num5
pro=num1*num2*num3*num4*num5
TextWindow.ForegroundColor="Yellow"
TextWindow.Write("Their sum is: ")
TextWindow.ForegroundColor="Red"
TextWindow.WriteLine(sum)
TextWindow.ForegroundColor="Yellow"
TextWindow.Write("Their product is: ")
TextWindow.ForegroundColor="Red"
TextWindow.WriteLine(pro)
Goto start