The four smallest numbers (40 points) Write an ANNA assembly program (smallest_four.ac) that finds the four smallest numbers entered by the user. Initially, the program continually asks the user to enter numbers. As soon as a negative value is entered, compute which numbers are the top four (smallest) numbers. For instance, if the user entered 2, 6, 7, 6, 5, 7, 6, 17, 15 -1; the program should print 2, 5, 6, 6 (the four smallest numbers in the sequence). If the user enters a negative number at the beginning, print 0. If the user enters four or fewer numbers, print all the numbers as output.
Notes:
• The goal of this problem is to exercise storing, retrieving, and scanning the numbers stored in memory. Therefore, a solution where you keep track of the smallest four numbers in registers as the numbers are entered is not acceptable. Such a solution will receive a maximum of 15 points for this problem.
• Do not keep track of everything in the input loop. You will need to store all numbers entered by the user in memory.
• Store all numbers entered into a growing array. • Note that The array should be the last item in your data section so it can grow as large as necessary.
• You may assume there is enough memory to hold all numbers entered by the user.

Answers

Answer 1

Answer:

the answer is -25

Explanation:


Related Questions

Germ-line genetic modification refers to “designer babies.”

Question 4 options:
True
False

Answers

The given statement "Germ-line genetic modification refers to "designer babies."" is true.

Germ-line genetic modification is a technique used to alter the genes in a gamete or a fertilized zygote. This process results in the introduction of the changes into the genome of every cell in the developing embryo. Consequently, any changes made in the germ cells will be inherited by future generations, making it possible to alter the human genome permanently.

The technology is still in its early stages, but it holds the potential to eliminate a wide range of genetic diseases. Designer babies are those whose genetic makeup has been deliberately altered by parents or physicians in such a way as to confer certain traits that would not have been present naturally.

While there are many ethical and societal considerations to be taken into account when it comes to germ-line genetic modification, the technology holds a great deal of promise for the future of medicine and genetic research. One of the most significant benefits of germ-line genetic modification is its ability to eradicate inherited genetic diseases.

The concept of germ-line genetic modification is currently being debated by scientists, policymakers, and ethicists. However, as the technology continues to improve, it will undoubtedly become more prevalent in the medical field, leading to new possibilities for personalized medicine, disease prevention, and even genetic enhancement.

For more such questions on genetic modification, click on:

https://brainly.com/question/16733706

#SPJ8

Will give brainlist. plzz hurry


Aisha designed a web site for her school FBLA club and tested it to see how well it would resize on different systems and devices. What kind of design did Aisha use?


Mobile development
Readability
Responsive
Software

Answers

Answer:

Mobile development

Explanation:

Answer:

I said software

Explanation:

i dont know if its right tho

The growth of cable and satellite technology forever changed network and broadcast television. This was due to which reasons

Answers

The growth of cable and satellite technology was due to option  A and C:

People had better reception with cable technology no matter where they lived in the country.Cable and satellite providers offered many more channels than television

What was cable television initially developed to provide?

In 1948, three states in the US—Arkansas, Oregon, and Pennsylvania—almost simultaneously developed cable television in an effort to improve the poor reception of broadcast television signals in hilly or isolated areas.

A satellite is essentially a self-contained communication system that can receive messages from Earth and retransmit those signals back using a transponder, which is a radio signal receiver and transmitter that is built inside a satellite.

Industry deregulation and the use of satellites to carry local TV stations across the nation were two important elements that contributed to the explosive rise of cable television networks.

In addition to providing in-flight phone service for aircraft, satellites are frequently the primary means of voice communication in rural areas and in places where phone lines have been damaged as a result of a disaster.

Learn more about satellite technology from

https://brainly.com/question/8376398

#SPJ1

The growth of cable and satellite technology forever changed network and broadcast television. This was due to which reasons? Select all that apply.

People had better reception with cable technology no matter where they lived in the country

The Federal Communications Commission (FCC) put a cap on the earnings that network and broadcast television could make

Cable and satellite providers offered many more channels than television

Cable networks were able to successfully compete with the networks that previously had a monopoly on televised news coverage

The Federal Communications Commission (FCC) changed their policies to allow cable to compete directly with the networks

Bulletin Board Systems (BBSs) predate the Internet.

True
False

Answers

True i think I’m not sure tho so don’t take my word

How do you add a section break that would start the new section on the same page?
O Click the Insert tab, click Breaks, and choose Next Page.
* Click the Insert tab, click Breaks, and choose Continuous.
O Click the Page Layout tab, click Breaks, and choose Next Page.
O Click the Page Layout tab, click Breaks, and choose Continuous.

ANSWER: Click the Page Layout tab, click Breaks, and choose Continuous.

Answers

Answer: Click the Page Layout tab, click Breaks, and choose Continuous.

Answer:

D

Explanation:

A microchip in a smart card stores the same data as the _____ on a payment card.

Answers

Answer: magnetic stripe

Explanation:

A pitch can help convey important information in pre-production for it to receive the green light into production. True or false

Answers

Hdjdicodxjxjcjxjjxjxixisiwiwididiicjci hfkdixiwiejen dixicisjen djdjkd

- JAVA - Okay I have been attempting this for the past hour and I am really stuck and keep getting an error... The error says that I keep missing a main thread but its there... help!
Given a main program that searches for the ID or the name of a student from a text file, complete the findID() and the findName() methods that return the corresponding information of a student. Then, insert a try/catch statement in main() to catch any exceptions thrown by findID() or findName(), and output the exception message. Each line in the text file contains the name and the ID of a student, separated by a space.
Method findID() takes two parameters, a student's name and a Scanner object containing the text file's contents. Method findID() returns the ID associated with the student's name if the name is in the file, otherwise the method throws an Exception object with the message "Student ID not found for studentName", where studentName is the name of the student.
Method findName() takes two parameters, a student's ID and a Scanner object containing the text file's contents. Method findName() returns the name associated with the student's ID if the ID is in the file, otherwise the method throws an Exception object with the message "Student name not found for studentID", where studentID is the ID of the student.
The main program takes three inputs from a user: the name of a text file (String), a user choice of finding the ID or the name of a student (int), and the ID or the name of a student (String). If the user choice is 0, findID() is invoked with the student's name as one of the arguments. If the user choice is 1, findName() is invoked with the student's ID as one of the arguments. The main program finally outputs the result of the search or a message if an exception is caught.
Ex: If the input of the program is:
roster.txt 0 Reagan
and the contents of roster.txt are:

Reagan rebradshaw835
Ryley rbarber894
Peyton pstott885
Tyrese tmayo945
Caius ccharlton329
the output of the program is:

rebradshaw835
Ex: If the input of the program is:

roster.txt 0 Mcauley
the program outputs an exception message:

Student ID not found for Mcauley
Ex: If the input of the program is:

roster.txt 1 rebradshaw835
the output of the program is:

Reagan
Ex: If the input of the program is:

roster.txt 1 mpreston272
the program outputs an exception message:

Student name not found for mpreston272
import java.util.Scanner;
import java.io.FileInputStream;
import java.io.IOException;

public class LabProgram {

public static String findID(String studentName, Scanner infoScnr) throws Exception {

/* Type your code here. */

}

public static String findName(String studentID, Scanner infoScnr) throws Exception {

/* Type your code here. */

}

public static void main(String[] args) throws IOException {
Scanner scnr = new Scanner(System.in);
String studentName;
String studentID;
String studentInfoFileName;
FileInputStream studentInfoStream = null;
Scanner studentInfoScanner = null;

// Read the text file name from user
studentInfoFileName = scnr.next();

// Open the text file
studentInfoStream = new FileInputStream(studentInfoFileName);
studentInfoScanner = new Scanner(studentInfoStream);

// Read search option from user. 0: findID(), 1: findName()
int userChoice = scnr.nextInt();

// FIXME: findID() and findName() may throw an Exception.
// Insert a try/catch statement to catch the exception and output the exception message.

if (userChoice == 0) {
studentName = scnr.next();
studentID = findID(studentName, studentInfoScanner);
System.out.println(studentID);
}
else {
studentID = scnr.next();
studentName = findName(studentID, studentInfoScanner);
System.out.println(studentName);
}

studentInfoStream.close();
}
}

Answers

Answer:

import java.util.Scanner;

import java.io.FileInputStream;

import java.io.IOException;

public class LabProgram {

 public static String findID(String studentName, Scanner infoScnr) throws Exception {

   while (infoScnr.hasNextLine()) {

     String[] parts = infoScnr.nextLine().split(" ");

     if (parts[0].trim().equals(studentName)) {

       return parts[1].trim();

     }

   }

   throw new Exception("Student ID not found for " + studentName);

 }

 public static String findName(String studentID, Scanner infoScnr) throws Exception {

   while (infoScnr.hasNextLine()) {

     String[] parts = infoScnr.nextLine().split(" ");

     if (parts[1].trim().equals(studentID)) {

       return parts[0].trim();

     }

   }

   throw new Exception("Student ID not found for " + studentID);

 }

 public static void main(String[] args) throws IOException {

   Scanner scnr = new Scanner(System.in);

   String studentName;

   String studentID;

   String studentInfoFileName;

   FileInputStream studentInfoStream = null;

   Scanner studentInfoScanner = null;

   // Read the text file name from user

   studentInfoFileName = scnr.next();

   // Open the text file

   studentInfoStream = new FileInputStream(studentInfoFileName);

   studentInfoScanner = new Scanner(studentInfoStream);

   // Read search option from user. 0: findID(), 1: findName()

   int userChoice = scnr.nextInt();

   try {

     if (userChoice == 0) {

       studentName = scnr.next();

       studentID = findID(studentName, studentInfoScanner);

       System.out.println(studentID);

     } else {

       studentID = scnr.next();

       studentName = findName(studentID, studentInfoScanner);

       System.out.println(studentName);

     }

   } catch (Exception ex) {

     System.out.println(ex.getMessage());

   }

   scnr.close();

   studentInfoStream.close();

 }

}

Explanation:

- You should call your file the same as your class (i.e., LabProgram.java)

- I added a try/catch to both find calls, to catch the exception

- The find methods are very similar, they loop through the lines of the roster, splitting each line at a space and doing string comparison.

If there is a break in the tube, theoretically what will happen to the Hyperloop pod?

Answers

If there is a break in the tube of the Hyperloop, the pod will experience a sudden drop in pressure inside the tube, which could result in a rapid deceleration or even an abrupt stop. This is because the Hyperloop operates by using a low-pressure environment inside the tube to reduce air resistance and enable the pod to travel at high speeds. If the pressure inside the tube drops, it can cause the pod to lose its levitation and potentially come into contact with the tube, resulting in a sudden deceleration or stop. Additionally, a break in the tube could cause the pod to experience sudden changes in air pressure, which could cause discomfort or injury to passengers. Therefore, it is important to ensure the safety and integrity of the tube to prevent any potential breaks or leaks.

What is the action take to the input called?

Answers

Answer:

Control types created with INPUT; Examples of forms containing INPUT controls ... The scope of the name attribute for a control within a FORM element is the FORM element. ... Applications should use the id attribute to identify elements. ... The program that will handle the completed and submitted form (the action attribute).

Explanation:

Which laptop should I buy for online classes?
Suggest some brand name with genuine price......

Answers

Answer:

im using an acer chromebook, its works well

Explanation:

price range from $100-$200

In dynamic programming, the technique of storing the previously calculated values is called A. Saving value property B. Storing value property C. Memoization D. Mapping

Answers

Answer:

C. Memoization

Explanation:

Given that Memoization is a computing strategy that is applied in storing the previously calculated values such that values can easily be recalled to execute similar problems or further problems. It is also used in making recurring algorithms productive

Hence, in this case, In dynamic programming, the technique of storing the previously calculated values is referred to as MEMOIZATION

Which body of water is most likely to be a marine ecosystem?

Answers

Answer:

The body of water that is most likely to be a marine ecosystem would be an estuary.

Explanation:

An estuary is a widened, often funnel-shaped mouth of a river, where fresh river water and salt sea water are mixed and thus brackish water is created, and where tidal differences can be observed. When a river flows as a system of branches, it is called a delta.

Estuaries often have a great natural value. They typically consist of swallows and salt marshes that are very rich in invertebrates and thus have a great attraction for birds, among other things.

Which of the following describes both product packaging and magazine advertising?

a. Paragraphs
b. Subheadings
c. Large amounts of copy
d. Small amounts of copy

Answers

Both magazine advertising and product packaging are described by subheadings.

Regarding Advertisement:

We must first understand what advertising is in order to understand what an advertisement is. Advertising is defined as a method in which the public is drawn to something, usually a good or service. A item, brand, or service is advertised to an audience using an advertisement to pique their attention, encourage interaction, and increase sales. Adverts, often known as adverts or adverts, exist in a variety of formats, from copy to animated experience, and have developed into an integral part of the app store.

To know more about advertisement
https://brainly.com/question/3163475
#SPJ1

How is opera diffrerent from blues,gospel,and country music?

How is opera diffrerent from blues,gospel,and country music?

Answers

Answer: Opera has its roots in Europe; the other styles are American

Explanation:

discuss the information justify with two examples

Answers

Answer:

An example of information is what's given to someone who asks for background about something

Declare an ArrayList of Strings. Add eight names to the collection. Output the Strings onto the console using the enhanced for loop. Sort the ArrayList using the method Collections.sort. Output the sorted List. Shuffle the list, and output the shuffled list. Note that Collections (with an s) is a class, while Collection is an interface. The Collections class has many useful static methods for processing interfaces, including the sort method. Search for a name in the list that exists; output the location where it was found. Search for a name that is not in the list. What location is reported? Convert the list to an array using toArray. Output the elements of the array. Convert the array back into a list using asList. Output the elements of the list.

Answers

Answer:

---------------------------

Explanation:

How will Excel summarize the data to create PivotTables? summarize by row but not by column summarize by column but not by row summarize by individual cells summarize by row and by column

Answers

Answer:

D. summarize by row and by column

Answer:

D.

Explanation:

Research statistics related to your use of the Internet. Compare your usage with the general statistics.
Explain the insight and knowledge gained from digitally processed data by developing graphic (table, diagram, chart) to communicate your information.
Add informational notes to your graphic so that they describe the computations shown in your visualization with accurate and precise language or notations, as well as explain the results of your research within its correct context.
The statistics and research you analyzed are not accomplished in isolation. The Internet allows for information and data to be shared and analyzed by individuals at different locations.
Write an essay to explain the research behind the graphic you develop. In that essay, explain how individuals collaborated when processing information to gain insight and knowledge.

Answers

By providing it with a visual context via maps or graphs, data visualization helps us understand what the information means.

What is a map?

The term map is having been described as they have a scale in It's as we call the longitude and latitude as well as we see there are different types of things are being different things are also in it as we see there are different things are being there in it as we see the oceans are there the roads and in it.

In the US, 84% of adults between the ages of 18 and 29, 81% between the ages of 30-49, 73% between the ages of 60 and 64, and 45% between the ages of 65 and above use social media regularly. On average, users use social media for two hours and 25 minutes each day.

Therefore, In a visual context maps or graphs, and data visualization helps us understand what the information means.

Learn more about the map here:

https://brainly.com/question/1565784

#SPJ1

choose the answer. to apply formatting changes to text in excel, use the controls in the font group on the blank space tab. question 3 options: insert data file home

Answers

The default formatting for all cell content is the same, which might make it challenging to read a workbook with a lot of data.

A workbook's appearance and feel can be customized using simple formatting, allowing you to highlight particular portions and improving the readability of your information.

Change the text size as follows:

Choose the cell or cells that need to be changed.

For the Font Size command on the Home tab, select the desired font size by clicking the drop-down arrow next to it. To make the text larger in our example, we will select 24. The selected font size will be used for the text. Moreover, you can change the font size using the keyboard using the Raise Font Size and Reduce Font Size commands.

Learn more about formatting  here:

https://brainly.com/question/21934838

#SPJ4

Complete the function to return the factorial of the parameter,
def factorial(number):
product = 1
while number
product = product number
number
return product
strNum = input("Enter a positive integer:)
num = int(strNum)
print(factorial(num))

Answers

def factorial(number):

   product = 1

   while number > 0:

       product = product * number

       number = number - 1

   return product

strNum = input("Enter a positive integer:")

num = int(strNum)

print(factorial(num))

I hope this helps!

Answer:

def factorial(number):

  product = 1

  while number > 0:

      product = product * number

      number = number - 1

  return product

strNum = input("Enter a positive integer:")

num = int(strNum)

print(factorial(num))

Explanation:

i got it right on edge 2020

2. Build a MATLAB program to evaluate ln(x) between [1, 2] that guar- antees up to 10 correct decimal digits using Chebyshev interpolation. Evaluate your function on 100 points on the interval [1, 2] and calculate the absolute error fore each point using MATLAB’s log command as the exact solution. Plot your error profile. Does this agree with the expected level of accuracy?

Answers

who was the father computer

Which of these are tools used to diagnose and test code? Check all of the boxes that apply.
debugging software
creating data sets
compiler software
error messages

Answers

Answer:

A C D

Explanation:

Answer:

Correct

Explanation:

Define basic logical gates with its symbol, algebraic expression and truth table.​

Answers

Answer:

A truth table is a good way to show the function of a logic gate. It shows the output states for every possible combination of input states. The symbols 0 (false) and 1 (true) are usually used in truth tables. The example truth table shows the inputs and output of an AND gate.

Explanation:

a hardware production method of lesser expense whereby the casket hardware sections are pressed out on a hydraulic press.

Answers

the casket hardware is pushed out using a hydraulic press, which is a less expensive technique of producing hardware. equipment for plastic extrusion molding.

What is the process for creating hardware?

There are seven phases in the hardware product development lifecycle. Design, construction, testing, distribution, use, upkeep, and disposal are the steps after requirements or ideation.

How are hydraulic systems pressed?

A modest amount of force is used by the hydraulic press to push the fluid below by applying it to the plunger. Following an uniform distribution of pressure, the Ram is raised. The object placed between the Plunger and the Ram is crushed by the pressure exerted by the two.

To know more about hydraulic press visit:-

https://brainly.com/question/12978121

#SPJ4

HS: 9.1.6 Checkerboard, v1
I got this wrong, and I don't know why or how to get the answer.

Code I Used:

def print_board(board):
for i in range(len(board)):
print(" ".join([str(x) for x in board[i]]))
board = []
for i in range(8):
board.append([0] * 8)
index = 0
for i in range(2):
for j in range(3):
board[index] = [1] * 8
index += 1
index += 2
print_board(board)

HS: 9.1.6 Checkerboard, v1I got this wrong, and I don't know why or how to get the answer.Code I Used:def

Answers

The correct code is given below.

Describe Python Programming?

It is an interpreted language, which means that it does not need to be compiled before being executed, making it a popular choice for rapid prototyping, scripting, and data analysis.

Based on the code you provided, it looks like you are trying to create a checkerboard pattern with alternating 1's and 0's. However, the code you wrote doesn't quite achieve that goal.

Here is a corrected version of the code that should work for you:

def print_board(board):

   for row in board:

       print(" ".join([str(x) for x in row]))

board = []

for i in range(8):

   row = []

   for j in range(8):

       if (i + j) % 2 == 0:

           row.append(1)

       else:

           row.append(0)

   board.append(row)

print_board(board)

In this corrected code, we first define a function print_board that takes a 2D list and prints it out as a grid of numbers.

We then create an empty list board and use nested loops to fill it with alternating 1's and 0's in a checkerboard pattern.

Note that we calculate the value of each cell based on its row and column indices, using the expression (i + j) % 2 == 0 to determine whether it should be a 1 or a 0.

Finally, we call the print_board function with our completed board to display the checkerboard pattern.

To know more function visit:

https://brainly.com/question/29331914

#SPJ1

What Should be the first step when troubleshooting

Answers

The first step in troubleshooting is to identify and define the problem. This involves gathering information about the issue, understanding its symptoms, and determining its scope and impact.

By clearly defining the problem, you can focus your troubleshooting efforts and develop an effective plan to resolve it.

To begin, gather as much information as possible about the problem. This may involve talking to the person experiencing the issue, observing the behavior firsthand, or reviewing any error messages or logs associated with the problem. Ask questions to clarify the symptoms, when they started, and any recent changes or events that may be related.Next, analyze the gathered information to gain a better understanding of the problem. Look for patterns, commonalities, or any specific conditions that trigger the issue. This analysis will help you narrow down the potential causes and determine the appropriate troubleshooting steps to take.

By accurately identifying and defining the problem, you lay a solid foundation for the troubleshooting process, enabling you to effectively address the root cause and find a resolution.

For more questions on troubleshooting

https://brainly.com/question/29736842

#SPJ8

Which of the following is a function of an audio programmer?

Answers

Answer:function of audio programmer

1. The audio programmer at a game development studio works under to integrate sound into the game and write code to manipulate and trigger audio cues like sound effects and background music.

Your answer is D. to integrate sound and music into the game

Hope this helps you

where do you think data mining by companies will take us in the coming years

Answers

In the near future, the practice of companies engaging in data mining is expected to greatly influence diverse  facets of our daily existence.

What is data mining

There are several possible paths that data mining could lead us towards.

Businesses will sustain their use of data excavation techniques to obtain knowledge about each individual customer, leading to personalization and customization. This data will be utilized to tailor products, services, and advertising strategies to suit distinctive tastes and requirements.

Enhanced Decision-Making: Through the use of data mining, companies can gain valuable perspectives that enable them to make more knowledgeable decisions.

Learn more about data mining from

https://brainly.com/question/2596411

#SPJ1

This is in C#. In Chapter 11, you created the most recent version of the GreenvilleRevenue program, which prompts the user for contestant data for this year’s Greenville Idol competition. Now, save all the entered data to a Greenville.ser file that is closed when data entry is complete and then reopened and read in, allowing the user to view lists of contestants with requested talent types. The program should output the name of the contestant, the talent, and the fee.

Note: We have hidden .ser files, although you can still read and write to them.

Answers

I've used Visual studio and windows 10 for compiling and running below mentioned C# code.

How to explain the program

Above code will take input from user in the following steps:

1. Enter number of contestants.

2. Then for each contestant it will take, contestant name, then its Talent code and age.

3. After entering all the contestant details, you will see the revenue expected this year.

4. Then program prompts the user to enter Talent type. When user enters that, program will show the contestant details who have user mentioned Talent type.

Learn more about program on

https://brainly.com/question/26642771

#SPJ1

This is in C#. In Chapter 11, you created the most recent version of the GreenvilleRevenue program, which
Other Questions
Which is best described as a record of performance data gathered when a system is performing well under normal conditions? His real salary has fallen and his nominal salary has risen.An assistant manager at a restaurant gets a $100 a month raise. He figures that with his new monthly salary he cannot buy as many goods ans services he could buy last year. according to the self-regulation model of prejudice reduction, people who see themselves as nonprejudiced but response in a prejudiced manner are likely to whats a ways can a setting influence a story 7.9x - 2 - 3.2x - 10 = 2.8 + x numbers 1-5Sequencing: Put the following statements in chronological order,Charles Wallace brings Meg and Calvin into an elevator.Meg sees a man in a room and screams, "Father!"- Calvin tries to communicate with the real Charles Wallace by looking into hissee a little boy in a room, screaming every time he bounces a ballThe fake Charles Wallace says that Mrs Whatsit, Mrs Who, and Mrs Whichare actually enemieseyesThey One of the major benefits of property rights in a free enterprise system is that A.businesses are free to sell their products at the prices they choose B.Consumers are able to freely use intellectual property from any business C. Governments have more influence over property being bought and sold D.Courts are able to force companies to sell property at fair prices How does the author first contrast the points of viewof Mr. Herriot and Mrs. Lee?A by presenting Mr. Herriot asenthusiastic and Mrs. Lee as boredBby presenting Mr. Herriot as uncaringand Mrs. Lee as desperateby presenting Mr. Herriot as bored andMrs. Lee as enthusiasticDby presenting Mr. Herriot as desperateand Mrs. Lee as uncaring Describe the four haploid cells produced frommeiosis. helpp a biologist uses a box shaped fish trap that measures 1/4 meter by 2/3 by 3/5 meter what is the volume of the trap in cubic meters What is 5 plus 2 1/4 In the diagram below, a 10-kilogram ball is fired with avelocity of 500 meters per second from a 1,000 kilogramcannon. What is the recoil velocity of the cannon?A. 5 m/sB. B) 2 m/sC. C) 10 m/sD. D) 500 m/s What term is used to describe a technical, physical, or administrative process designed to reduce risk? a number n is less than or equal to -7 or greater than 12 A stock has a beta of 0.15. The risk free rate is 0.583% and the market risk premium is 5%. What is the fair return on the stock 5, x 10^ 5, is how many times as large as 1 x 10^5 ? TRUE/FALSE. wind resistance created by opening windows while driving results in a fuel penalty as great or greater than is incurred by using air conditioning. An item on the sale rack at a local supermarket was marked $3.42. The original priceof the item was $4.75.What was the percent of the discount? (cAlice leaves her house, driving east at 45 milesper hour (mph). Thirty minutes later, herhusband Dave notices she forgot her cellphoneand sets off after her. How fast must Davetravel in order to catch up with Alice 3 hoursafter he leaves?14. find the values of x and y