Can someone explain to me how to use the while loop for this exercise?

Can Someone Explain To Me How To Use The While Loop For This Exercise?

Answers

Answer 1

Answer:

To use a while loop for this exercise, you would first initialize a variable, such as "counter," to 0. Then, you would set up the while loop so that it continues to run as long as the value of "counter" is less than the total number of sections you have in your data set. Within the while loop, you would include instructions to read in the data for each section, such as using the input() function to prompt the user for the course number, section, and meeting time and location. You would then use an if statement to check if the course is an online course, and if so, you would print "online" in place of the meeting time and location. Finally, you would increment the "counter" variable by 1 at the end of each iteration of the while loop so that the loop eventually terminates when all sections have been read in and printed.

Answer 2

Answer:

Explanation:

There is insufficient information to accurately respond but I have done in a simple manner.

Since I don't know what the contents of the two python files referred to in the document, I  have used my own formatting method and check for moving to a newline.

Also, don't know how the data is inputted; I have assumed that the data is in a file called data.txt

There are more elegant ways t do this but I have done this quickly and simply

with open("data.txt") as f:   # open file for reading

   data = f.read()   # read all data

   lines = data.split()  #split data into individuals

   i = 1  #counter to track how many lines outputted

   for line in lines:  # for each item in lines

       print('{:20s}'.format(line), end = '')   #  suppress line feed

       if i % 3 == 0:    #check to see if 3 items  printed out
           print()       # if so, print new  line

       i+=1                #increment counter

       

f.close()  # close file - not necessary if using open


Related Questions

when analyzing threats, which of the following would be classified a low threat? A. A flood in a Florida data center B. A terrorist attack on a buildinh in california c. Hurricane damage to an electrical generatinh facility in lowa D. RA social engineering attack on a centers for Disease Control and Prevention​

Answers

When analyzing threats, the following occurrence would be classified as a low threat: C. hurricane damage to an electrical generating facility in lowa.

What is a low threat?

A low threat can be defined as a type of threat that is not likely to cause failure, harm, or severe injury, especially because it is characterized by minimal (low) risk.

In this context, we can infer and logically deduce that hurricane damage to an electrical generating facility in lowa would be classified as a low threat when analyzing threats.

Read more on low threat here: https://brainly.com/question/8066984

#SPJ1

11. Written and artistic expressions are protected by
A. digital ethics.
OB. intellectual property law.
0000
OC. infringement.
D. social media.

Answers

Answer:

B

Explanation:

Written and artistic expressions are protected by intellectual property law.

Why do we need to use a VPN service?

Answers

Answer:

VPN creates a private tunnel so hackers, your ISP, and the government can't see what you're doing.

Answer: VPN stands for Virtual Private Network. It is a tool that is used for securing the user's internet journey.

Explanation:

Through encryption, a VPN keep safe the internet traffic of the users. For the best VPN service, you must try CovermeVPN that ensures high speed and the highest security.

If you are an Indian, know why CovermeVPN is best VPN for India.

Source:

https://covermevpn.com/best-vpn-service-in-india-for-pc-mobile-and-other-devices/

class Main {

static int[] createRandomArray(int nrElements) {

Random rd = new Random();

int[] arr = new int[nrElements];

for (int i = 0; i < arr.length; i++) {

arr[i] = rd.nextInt(1000);

}

return arr;

}

static void printArray(int[] arr) {

for (int i = 0; i < arr.length; i++) {

System.out.println(arr[i]);

}

}

public static void main(String[] args) {

int[] arr = createRandomArray(5);

printArray(arr);

}

}

Modify your code to use an enhanced for loop.
ty in advance

Answers

See below for the modified program in Java

How to modify the program?

The for loop statements in the program are:

for (int i = 0; i < arr.length; i++) { arr[i] = rd.nextInt(1000); }for (int i = 0; i < arr.length; i++) { System.out.println(arr[i]); }

To use the enhanced for loop, we make use of the for each statement.

This syntax of the enhanced for loop is:

for(int elem : elems)

Where elem is an integer variable and elems is an array or arrayList

So, we have the following modifications:

i = 0; for (int num : arr){ arr[i] = rd.nextInt(1000); i++;}for (int num : arr) { System.out.println(num); }

Hence, the modified program in Java is:

class Main {

static int[] createRandomArray(int nrElements) {

Random rd = new Random();

int[] arr = new int[nrElements];

int i = 0;

for (int num : arr){

arr[i] = rd.nextInt(1000);

i++;

}

return arr;

}

static void printArray(int[] arr) {

for (int num : arr) {

System.out.println(num);

}

}

}

public static void main(String[] args) {

int[] arr = createRandomArray(5);

printArray(arr);

}

}

Read more about enhanced for loop at:

https://brainly.com/question/14555679

#SPJ1



A mathematics question paper has certain number of questions and each question is
assigned some random maximum marks. Mr. Myers wants to edit the marks assigned
to the questions such that:
1. All questions in the paper should have distinct maximum marks.
2. The total marks of all the questions should be as low as possible.
Mr. Myers wants to achieve this by making minimal changes in the original format,
assigning the question at least as much marks as it originally had. Find the minimum
total marks that he can set the paper for.
Input Specification:

Answers

Using the knowledge in computional language in Java it is possible to write a code that can edit the marks assigned for Mr. Myers:

Writting the code in Java:

#include <stdio.h>

int main()

{

   int n, i, sum=0;

   int a[i];

   printf("Enter the number of Questions in the paper : ");

   scanf("%d", &n);

   printf("Original marks assigned to every question :");

   for(i=0; i<n; i++)

   {

       scanf("%d", &a[i]);

   }

   for(i=0; i<n; i++)

   {

       sum += a[i];

   }

   printf("The minimum total marks Mr. myers can set the paper for. : %d", sum);

   return 0;

}

The minimum total marks that Mr. Myers can set the paper for is 15.

See more about computing at: brainly.com/question/15707178

#SPJ1

Fill in the blanks to help write this professional e-mail:



✔ Hello Design Team,

You may have heard, I am meeting with the VP (Vice-President) of Finance to highlight our team’s work on the Big Project.
✔ I’d like to show our best work to the VP, which is why I am asking for your help now.

I want to have a slideshow of our best designs to present.
✔ Please send me final versions of your best work so I can create the presentation.


✔ Thanks for your support!

Jan, Team Lead

Answers

The Fill in the blanks of this professional e-mail is given below:

What is the email about?

The Team Lead,

Dangete group.

To Design Team,

                    Email on project presentation

You may have heard, I am meeting with the VP (Vice-President) of Finance to highlight our team’s work on the Big Project. There we are going to talk about all the work that the team members can do and have done.

I’d like to show our best work to the VP, which is why I am asking for your help now. I want to have a slideshow of our best designs to present.

This will be presented when he comes to visit and as such, Please send me final versions of your best work so I can create the presentation. I trust you all and i know you are have been giving your best for the company's growth.

Thanks for your support.

Yours faithfully,

Jan Gith,

Team Lead

Learn more about  Design Team from

https://brainly.com/question/25886641

#SPJ1

Based on this simulator screenshot and the corresponding code block, what
is the player doing?

O A. Pressing only the "A" button
O B. Pressing both the "A" and "Menu" buttons
O C. Not pressing the "A" button
O D. Pressing both the "A" and "B" buttons

Answers

Based on this simulator screenshot and the corresponding code block, The  player is Not pressing the "A" button.

What is a Simulation?

A simulation is known to be the start of the operation of any kind of real-world process or system in course of time.

Note that in the case above, Based on this simulator screenshot and the corresponding code block, The  player is Not pressing the "A" button.

Learn more about simulator from

https://brainly.com/question/15892457

#SPJ1

Answer:

not pressing the a button

trust me i just did it

2.3.2

Explanation:

If given program is executed, what will be output?

Create Stack<Integer>

Queue<Integer> queue = new LinkedList<Integer>;

Create LinkedList<Integer> ll;

int[] array = { 16, 22, 399, 214, 351 };



for (i = 0; i < array.length; i++) {

int x = array[i];

if (i % 2 == 0)

addLast(x) in ll;

else

push(x) on stack;

}

while (“stack is not empty” || “linked list is not empty”) {

if (stack is not empty)

queue.enqueue(stack.pop());

if (“linked list is not empty”)

queue.enqueue(ll.removeLast());

if “queue is not empty”)

print("I am " + queue.getFront();}

Answers

Answer:

16 22 399 214 351

Explanation:

es 1 .22 399 480

Using the knowledge in computational language in JAVA it is possible to write a code that joins the data placed in the code and outputs a value.

Writting the code in JAVA:

import java.util.LinkedList;

import java.util.Queue;

import java.util.Stack;

public class ReversingTheFirstKElementsOfAQueue{

static Queue<Integer> queue;

static void reverseQueueFirstKElements(int k)

{

if (queue.isEmpty() == true

|| k > queue.size())

return;

if (k <= 0)

return;

Stack<Integer> stack = new Stack<Integer>();

for (int i = 0; i < k; i++) {

stack.push(queue.peek());

queue.remove();

}

while (!stack.empty()) {

queue.add(stack.peek());

stack.pop();

}

for (int i = 0; i < queue.size() - k; i++) {

queue.add(queue.peek());

queue.remove();

}

}

static void Print()

{

while (!queue.isEmpty()) {

System.out.print(queue.peek() + " ");

queue.remove();

}

}

public static void main(String args[])

{

queue = new LinkedList<Integer>();

queue.add(1);

queue.add(2);

queue.add(3);

queue.add(4);

queue.add(5);

int k = 3;

reverseQueueFirstKElements(k);

Print();

}

}

See more about JAVA at brainly.com/question/12975450

#SPJ1

allows users to enter text and control the computer with their voice.

Answers

Speech input software allows users to enter text and control the computer with their voice.

What is an input device that allows you to put text into a computer?

An example of these input device is the keyboard and it is one that allows a person to be able to enter letters, numbers and any kind of symbols into a computer.

Note that Speech input software allows users to enter text and control the computer with their voice.

Learn more about The keyboard from

https://brainly.com/question/26632484

#SPJ1

give two logics how a computer is better then man how give two logic how give two logics ​

Answers

Answer:

makes work easier

saves time

the word "computer" originally refer to as what

Answers

The term "computer", in use from the early 17th century (the first known written reference dates from 1613), meant "one who computes": a person performing mathematical calculations, before electronic computers became commercially available.

class Main {

static void printPowers(int howMany, int nrRows) {

int n=1;

while(n<=nrRows) {

int power = 1;

while(power <= howMany) {

System.out.printf("%d ", (int) Math.pow(n,power));

power++;

}

System.out.println();

n++;

}

}



public static void main(String[] args) {

printPowers(3,5);

}

}
1. Rewrite your method printPowers from 7B to use a for loop instead of a while loop.

2. Rewrite your method printPowers from 7B to use a do-while loop instead of a while loop.

Answers

Answer:

class Main {

 static void printPowers(int howMany, int nrRows) {

   for(int n=1; n<=nrRows; n++) {

     for(int power = 1; power<=howMany; power++) {

       System.out.printf("%d ", (int) Math.pow(n, power));

     }

     System.out.println();

   }

 }

 public static void main(String[] args) {

   printPowers(3, 5);

 }

}

class Main {

 static void printPowers(int howMany, int nrRows) {

   int n = 1;

   do {

     int power = 1;

     do {

       System.out.printf("%d ", (int) Math.pow(n, power));

       power++;

     } while (power <= howMany);

     System.out.println();

     n++;

   } while (n <= nrRows);

 }

 public static void main(String[] args) {

   printPowers(3, 5);

 }

}

Explanation:

The for loop gives the cleanest, shortest code.

PLEASE HELP
7.6 LAB: Replacement words Write a program that finds word differences between two sentences. The input begins with the first sentence and the following input line is the second sentence. Assume that the two sentences have the same number of words. The program displays word pairs that differ between the two sentences. One pair is displayed per line.

Ex: If the input is:

Smaller cars get better gas mileage Tiny cars get great fuel economy

then the output is:

Smaller Tiny better great gas fuel mileage economy


Hint: Store each input line into a list of strings.

Answers

This assignment is required to be executed in python programming language. See the code below.

What is the code that displays word pairs that differ between the two sentences?

# taking two sentence as input s1 = input() s2 = input()  

# getting the words in both sentences in list w1 = s1.split() w2 = s2.split()  # looping through the word lists and checking if they are equal or not for i in range(len(w1)):  

# printing word pairs if they are not equal

if (w1[i] != w2[i]):

 print(w1[i],w2[i])    

Learn more about python programming language at;
https://brainly.com/question/26497128
#SPJ1

How can you ensure that your internet search is happening over a secure network connection?.

Answers

Answer:

Rename Routers and Networks.

Use strong passwords.

Keep everything updated.

Turn on encryption.

Use multiple firewalls.

Turn off the WPS setting.

Use a VPN

A/An ____ is a picture that shows the information that is created, stored, and used by a business system. normalization, entity relationship diagram, data flow diagram, data model​

Answers

Answer:

entity relationship diagram ( ERD)

two types of storage memory​

Answers

Answer:

Primary and Secondary memory

Primary memory includes ROM and RAM

Secondary memory includes CD, hard drive, etc

Using computers can lead to a number of physical safety issues. State and explain TWO(2) of these types of issues.​​​​​

Answers

The types of issues that is seen are:

Electrocution Fire Tripping over wires and others.

What is the physical safety about?

There are a lot of of physical safety issues that can come up from using ICT devices.

A fire outbreak can occur if there is an issue with the wiring of the computer system or when there is too much voltage supplied and this is therefore a type of physical safety issues in the computer room.

Note that Electrocution is said to be the death or bad injury that is known to be caused as a result of an electric shock from electric current that tends to pass through the body.

Hence, The types of issues that is seen are:

Electrocution Fire Tripping over wires and others.

Learn more about Electrocution from

https://brainly.com/question/1810934

#SPJ1

Which transactions in the lab used TCP protocol? which used UDP? Which ports were used in the lab?

Answers

The transactions in the lab used TCP protocol are: FTP (port 21), SSH (port 22), and Telnet (port 23) used TCP.

What protocols are used in TCP?

A high-level protocols is one that often need to moves data to all use TCP Protocol.

Note that an Examples is made up of peer-to-peer sharing methods such as File Transfer Protocol (FTP), Secure Shell (SSH), and Telnet.

Why use UDP?

UDP is known to be one that helps to fasten or speeds up the rate of transmissions by aiding or helping in the transfer of data before any form of an agreement is given by the receiving party.

Hence, The transactions in the lab used TCP protocol are: FTP (port 21), SSH (port 22), and Telnet (port 23) used TCP.

Learn more about TCP protocol from

https://brainly.com/question/17387945

#SPJ1

write a program to calculate the average of all even integers between 1 and 10000

Answers

We can calculate average by adding each even numbers till n and then dividing sum by count.

The Python program to calculate the average of all even integers between 1 and 10000 is given below.

We have,

The Python program to calculate the average of all even integers between 1 and 10000:

def main():

   even_sum = 0

   count = 0

   for num in range(2, 10001, 2):  # Starting from 2 and incrementing by 2 (only even numbers)

       even_sum += num

       count += 1

   if count > 0:

       average = even_sum / count

       print("Average of even integers between 1 and 10000:", average)

   else:

       print("No even integers between 1 and 10000.")

if __name__ == "__main__":

   main()

In this program, we define a function main() that runs the main logic.

We initialize even_sum to store the sum of even numbers and count to keep track of how many even numbers we encounter.

The for loop iterates through even numbers between 2 and 10000 (using the range() function with a step of 2).

Inside the loop, it adds each even number to even_sum and increments the count.

Thus,

The Python program to calculate the average of all even integers between 1 and 10000 is given above.

Learn more about Python programs here:

brainly.com/question/32674011

#SPJ3

Drag the tiles to the correct boxes to complete the pairs.
Match each computer field with its appropriate description.
Tiles
information support and services
network systems
programming and software development
web and digital communications
Pairs
creating interactive materials
arrowBoth
providing technical assistance to users
arrowBoth
designing and developing applications
for an organization's use
arrowBoth
developing and implementing an
organization's technology infrastructure
arrowBoth

Answers

The matchup are:

information support and services - providing technical assistance to usersnetwork systems - creating interactive materialsprogramming and software development - designing and developing applications for an organization's useweb and digital communications -developing and implementing anorganization's technology infrastructure

What is network system?

A network is known to be made up of a set of computers, servers, network devices, and other devices that are linked so that it can allow data sharing.

Therefore, The matchup are:

information support and services - providing technical assistance to usersnetwork systems - creating interactive materialsprogramming and software development - designing and developing applications for an organization's useweb and digital communications -developing and implementing anorganization's technology infrastructure

Learn more about network systems from

https://brainly.com/question/1326000

#SPJ1

Firework: tool to design UX

Perl: programming language

Flash: software to design UI

Oracle: database software

All of the following are likely to be the benefits of a college graduate except:

a.
Greater job satisfaction

b.
Earn less money over time

c.
Improved health and wellness

d.
Better job stability

Answers

B. Earn less money over time

Over time, the interest is added to the principal, earning more interest. That's the power of compounding interest. If it is not invested, the value of the money erodes over time.

Explain three ways for the attacker to avoid raising alarms from intrusion detection systems.

Answers

IDS or Intrusion detection system is very powerful but clever attack can make it reckless

#1

Use Insertion attack

It generally denotes to sending dummy intruders in multiple amount the IDS gets confused and attacker can go

#2

Using codewords or doing encoding and decoding(Obfuscating)

Its very useful technique

#3

Using shell codes

IDS will be failed if you successfully implement it

The three ways for the attacker to avoid raising alarms from intrusion detection systems are

Explanation:

Session splicing and fragmentation - involve breaking, slicing, and splitting packets into multiple pieces such that no single packet causes the IDS to trigger an alert.

Invalid packets - Sending invalid TCP packets is another way of evading an IDS.

Polymorphic shellcodes -Most IDS systems have a standard default set of intrusion signatures. Attackers can modify the attack payload so that it doesn’t match the default IDS signature and gets through it.

Hope it helps, any confusion you may ask!

I have a project management class and my professor wants 15-20 page project plan. Any suggestions anyone ?

Answers

A project plan  helps to establish all work in a project as well as  identification of  who will do it.

What is a project plan?

It should be noted that i just give the general overview about a project plan.

Project plan  can be regarded as the project goals as well as the  objectives and the specifies tasks , it helps to establish how goals will be achieved along with the needed resources.

These steps can be followed in writing a project plan:

Establish Project Scope as well as the  Metrics.Establish the  Stakeholders. Develop Tasks. Make sure you Assign Tasks as well as  Deadlines. Seek for Feedback so as to be able to  Adjust The Project PlanGet  relevant Team Involved In the Process.

Learn more about project plan  on:

https://brainly.com/question/15410378

#SPJ1

What is the term used to describe a singular container in an Excel spreadsheet?
O worksheet
Otab
Ocell
Orange

Answers

Cell is the term used to describe a singular container in an Excel.

What is a single box in a spreadsheet?

An active cell as seen in an Excel worksheet, is one which is made up of small rectangle or box called cell.

Note that the active cell is one that has the selected cell and it is where the data is entered if a person begin typing.

Hence, Cell is the term used to describe a singular container in an Excel.

Learn more about spreadsheet from

https://brainly.com/question/4965119

#SPJ1

Answer:

it is d

Explanation:

QUESTION 9
Alex wants to center the title and his name on his cover page. Which of the following buttons should he press?

Answers

Alex if he wants to center the title and his name on his cover page, he has to press centered.

What are  cover page?

Cover pages is known to be the page that is made up of the title of sny article, books etc. It also include the name of your school, course name, etc.

Therefore, Alex if he wants to center the title and his name on his cover page, he has to press centered so as to be in the middle top of the document.

Learn more about cover page from

https://brainly.com/question/3602860

#SPJ1

You created a photo album with transitions and want to send it to friens

Answers

Answer:

do not cheat in your exam

Answer:

C.All the negative things the other person has said or done to you

Explanation:

List at least four items that security policy should include

Answers

Answer:

Purpose.

Audience.

Information security objectives.

Authority and access control policy.

Data classification.

Data support and operations.

Security awareness and behavior.

Encryption policy.

Medical assistant, Jackie, was downloading some patient information on cerebral palsy from the Internet. While downloading, Jackie noticed the computer was working slower than usual. When Jackie clicked on a web site that she needed to review, the computer would not take her to the designated website. Instead, the computer took her to an alternative site. Jackie soon noticed that even when she was working offline using a word processing software program, the computer was acting up. When she went to
the medical software, she could not bring up patient account information.

Answers

In the case above, her system have been hack because she was taken to an alternative site which is used by hackers to deceive people. Since she could not find the file, the best thing to do is to use an antivirus that can prevent the malicious software from invading her system or call a professional.

What is a system attack?

A cyber attack is known to be when a person attempt to get an unauthorized access to a computer and this is done as they try to alter, block, manipulate or steal the data that is seen within the systems.

In the case above, her system have been hack because she was taken to an alternative site which is used by hackers to deceive people. Since she could not find the file, the best thing to do is to use an antivirus that can prevent the malicious software from invading her system or call a professional.

Learn more about system attack from

https://brainly.com/question/26199042

#SPJ1

What describes Accenture's approach to automation?

cloud-centered

human-centered

machine-centered

intelligence-centered

I don't know this yet.

Answers

Answer:

intelligence - centered

Explanation:

I hope it helps you

Which of the following criteria was a key milestone for the object-relational model created in the mid-1980s?

Answers

The use of the inheritance to have a structure inherit attributes and methods of classes above it.


One of the key milestones in the period in which the object-relational model was created was the creation of a data
model that closely represented the real world. In this approach, objects were created in which both data and its
relationships were all contained in one place. These data models were becoming a norm to be stored on the web. They
also incorporated support for star schemas within data warehouses. Objects that had similar characteristics were
grouped into classes, where they had a shared structure of attributes and behaviors.

One of the milestones during this period was the use of Unified Modeling Language to represent the data models. The correct option is C.

What is object-relational model?

Using object-oriented programming languages, object-relational mapping is a programming technique used in computer science to convert data between type systems. As a result, the programming language becomes a "virtual object database" that may be used.

One of the significant achievements throughout the development of the object relational model was the development of a data model that accurately reflected the real world.

Using this method, objects were constructed that contained all of the data and the relationships between it. The storage of these data models online was starting to become standard.

Additionally, they included support for star schemas in data warehouses. Classes would be composed of comparable structures with similar shared characteristics and actions.

Thus, the correct option is C.

For more details regarding object-relational model, visit:

https://brainly.com/question/29642352

#SPJ2

Your question seems incomplete, the missing options are:

a.)One of the milestones during this period was introducing the schema.

b.)One of the milestones during this period was the creation of a tuple or a table row within a relation.

c.)One of the milestones during this period was the use of Unified Modeling Language to represent the data models.

d.)

One of the milestones during this period was focusing on having support for large databases at a terabyte size.

Other Questions
You bought 3/4 pound of fudge for 6.75. Write and solve an equation to find the cost of the fudge per pound. Will mark brainliest AP Human GeographyWater run-off is likely to be greatest in which of the following settings?- Beachfront- Alpine terraces- Flat farmland- Forest preserve- City Plzzz answer this question correctly a-3.2=5.5 what does a equal?? PLEASE HELP ITS OVERDUE PLEASE I NEED HELP!! Trapezoid ABCD has an area of 57. BC = 7 and AD = 12. What is the height of the trapezoid? i need a second anser to this one why was discovering this tree like discovering a dinosaur? In Frankenstein, once the monster and Victor board the ship going to the Arctic Circle, what does the monster (GIVING BRAINLIEST!!) Due to altitude, you might find snow here during the summer months.A) By a lakeB) In the forestC) In the oceanD) On a mountain -4x(5x +1)this needs to be written in polynomials Is this a parallelogram? If so, please explain why. The Mixing Department of Premium Foods had 50,000 equivalent units of materials for October. Of the 50,000 units, 25,000 units were completed and transferred to the next department, and 25,000 units were 35% complete. Premium Foods's costs per equivalent unit of production are $0.96 for direct materials and $0.70 for conversion costs. All of the materials are added at the beginning of the process. Conversion costs are added evenly throughout the process and the company uses the weighted-average method.Calculate the cost of the 25,000 units completed and transferred out and the 25,000 units, 35% complete, in the ending Work-in-Process Inventory. Carsen loves to run. She runs 4 miles each day. If she wants to run a total of 56 miles how many days should she run? Write an equation to show this problem along with the answer. *Please click on "show your work" to set up the problem and show your work. Then, enter your answer in the box to the right. You must complete both of these steps. If Jay pushes on a box with a force of 20 N to the right and Bradley pushes on a box with a force of 15 N to the left, what is the net force on the box? What number is 16% of 576 in a fraction ? What is the yellow structure, and what role does it play in a cell?? Emilio earns $15 per hour at one job and $18 per hour at a second job. He works for 3 hours at the first job and 90 minutes at the second. What is his average hourly pay rate? HELP ME PLEASEMarcla shoots an arrow that hits a bull's-eye 80 feet away. Before hitting the bull's-eye, the arrow reaches amaximum height of 16 feet at the midway point, 40 feet.Part 1 out of 2If the bull's-eye is considered to be at (80, 0), what function (In Intercept form) could represent the path ofthe arrow If x is the horizontal distance from Marcia and h(x) represents the height of the arrow in relationto the horizontal distance?The function is h(x)=Next