1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
kari74 [83]
3 years ago
12

Create a function called biggestNum that returns the largest number in an array of integers. The function is passed only one par

ameter, 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.

Computers and Technology
1 answer:
goldenfox [79]3 years ago
5 0

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())

You might be interested in
In what decade was photography invented? the 1800s the 1820s the 1840s the 1860s
frutty [35]

Answer:

In the year 1820's

It is B

4 0
3 years ago
How does one decide which businesses to invest in.
GREYUIT [131]
As you consider your options, here are seven things you should know about a company before you decide to invest:
Earnings Growth. Check the net gain in income that a company has over time. ...
Stability. ...
Relative Strength in Industry. ...
Debt-to-Equity Ratio. ...
Price-to-Earnings Ratio. ...
Management. ...
Dividends.
3 0
3 years ago
Write a function SwapArrayEnds() that swaps the first and last elements of the function's array parameter. Ex: sortArray = {10,
ludmilkaskok [199]

Answer:

Replace /* Your solution goes here*/ with the following

<em>void SwapArrayEnds(int sortArray [], int lent){ </em>

<em>    int temp = sortArray[0]; </em>

<em>    sortArray[0] = sortArray[lent-1]; </em>

<em>    sortArray[lent-1] = temp; </em>

<em>} </em>

<em />

Explanation:

This defines the function SwapArrayEnds with two parameter (the array and the array length)

<em>void SwapArrayEnds(int sortArray [], int lent){ </em>

This declares an integer variable "temp" and initializes it with the first element of the array

<em>    int temp = sortArray[0]; </em>

The next two lines swap the last element with the first

<em>    sortArray[0] = sortArray[lent-1]; </em>

<em>    sortArray[lent-1] = temp; </em>

<em>} </em>

<em />

<em>See attachment for full program</em>

Download cpp
3 0
3 years ago
____ is typically used with lans that have a star topology and can be used in conjunction with twisted-pair, coaxial, or fiber-o
jenyasd209 [6]
The answer is Ethernet. Anybody and all and sundry that has a pc/supported device and a router can use it. Ethernet affords a quick, green, and direct connection to a router. Its counterpart, wireless, is used for the wireless connection. A motive you will use Ethernet over WiFi is to achieve a quicker, extra reliable connection.
6 0
3 years ago
Write a for loop to print the numbers 88, 84, 80, ...44 on one line. Expected Output 88 84 80 76 72 68 64 60 56 52 48 44
Andreas93 [3]

Answer:

for(i=88; i>=44; i-=4) process.stdout.write(`${i} `);

Explanation:

This is javascript, can be easily modified to other languages.

7 0
3 years ago
Read 2 more answers
Other questions:
  • Suppose that we are developing a new version of the AMD Barcelona processor with a 4 GHz clock rate. We have added some addition
    11·1 answer
  • Given the following code fragment and the input value of 4.0, what output is generated?
    8·1 answer
  • A flowchart illustrating the site structure of a website is called a
    12·1 answer
  • Which audio media can be directly sent to the subscribers through an RSS feed?
    6·1 answer
  • "Jan23" can be stored using which data type? O an alphanumeric string O a boolean operator o characters floating point numbers​
    13·2 answers
  • Write a program in Python to sum to numbers:<br><br> Urgently needed, please.
    14·1 answer
  • LAB: Parsing dates in M/D/Y format
    5·1 answer
  • Some people worry that there won’t be enough jobs in the future because computers will be able to do everything better than peop
    7·2 answers
  • What is ICT?Write down the uses of ICT​
    6·1 answer
  • Identify the places in the code where there are object-oriented concept violations, content coupling, common coupling, control c
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!