Welcome to Westonci.ca, the ultimate question and answer platform. Get expert answers to your questions quickly and accurately. Join our Q&A platform to connect with experts dedicated to providing precise answers to your questions in different areas. Get quick and reliable solutions to your questions from a community of experienced experts on our platform.

Create a function called biggestNum that returns the largest number in an array of integers. The function is passed only one parameter, an array. In main, ask the user the input eight integers. Each integer should be added to an array called nums. Then, call the function and output the largest number in the array.

Create A Function Called BiggestNum That Returns The Largest Number In An Array Of Integers The Function Is Passed Only One Parameter An Array In Main Ask The U class=

Sagot :

This is for Python

def biggestNum():

   array = []

   for i in range(8):

       number = int(input('Enter number: '))

       array.append(number)

   

   return max(array)

print(biggestNum())