Question

In: Computer Science

this is in excel VB8 Program 3: Long-Distance Calls A long-distance provider charges the following rates...

this is in excel VB8

Program 3: Long-Distance Calls A long-distance provider charges the following rates for telephone calls: Rate Category Rate per Minute Daytime (6:00 A.M. through 5:59 P.M.) $0.07 Evening (6:00 P.M. through 11:59 P.M.) $0.12 Off-Peak (12:00 A.M. through 5:59 A.M.) $0.05 Create an application that allows the user to select a rate category and enter the number of minutes of the call, then displays the charges. Use the following test data to determine if the application is calculating properly: Rate Category and Minutes Charge Daytime, 20 minutes $ 1.40 Evening, 20 minutes $ 2.40 Off-peak, 20 minutes $ 1.00 1) Time Calculator Create a application that lets the user enter a number of seconds and produces output according to the following criteria:• There are 60 seconds in a minute. If the number of seconds entered by the user is greater than or equal to 60, the program should display the number of minutes in that many seconds. • There are 3,600 seconds in an hour. If the number of seconds entered by the user is greater than or equal to 3,600, the program should display the number of hours in that many seconds. • There are 86,400 seconds in a day. If the number of seconds entered by the user is greater than or equal to 86,400, the program should display the number of days in that many seconds.

this is in excel VB8

Solutions

Expert Solution

Source Code:


Related Solutions

Long-Distance Calls A long-distance provider charges the following rates for telephone calls: Rate Category Daytime (6:00...
Long-Distance Calls A long-distance provider charges the following rates for telephone calls: Rate Category Daytime (6:00 A.M. through 5:59 P.M.) Evening (6:00 P.M. through 11:59 P.M.) Off-Peak (12:00 A.M. through 5:59 A.M.) Rate per Minute $0.07 $0.12 $0.05 Create a C++ program that allows the user to select a rate category and enter the number of minutes of the call, then displays the charges. Use the following test data to determine if the application is calculating properly: Rate Category and...
WorldCom was a provider of long-distance phone services to businesses and residents. It started as a...
WorldCom was a provider of long-distance phone services to businesses and residents. It started as a small company known as Long Distance Discount Services (“LDDS”) that grew to become the third-largest telecommunications company in the United States due to the management of Chief Executive Officer (“CEO”) Bernie Ebbers. It consisted of an employee base of 85,000 workers at its peak with a presence in more than 65 countries. LDDS started in 1983. In 1985, Ebbers was recruited as an early...
Long distance telephone calls are normally distributed with a mean of 8 minutes and a      standard...
Long distance telephone calls are normally distributed with a mean of 8 minutes and a      standard deviation of 2 minutes.          If random samples of 25 calls were selected, what is the probability that telephone calls would be between 7.83 and 8.2 minutes? If random samples of 25 calls were selected, what is the probability that telephone calls would be at most 8.2 minutes?       c.   If random samples 100 calls were selected, what is the probability that       telephone calls would be between...
83. Suppose that the length of long distance phone calls, measured in minutes, is known to...
83. Suppose that the length of long distance phone calls, measured in minutes, is known to have an exponential distribution with the average length of a call equal to eight minutes. a. Define the random variable. X= ________________. b. Is X continuous or discrete? c. μ= ________ d. σ= ________ e. Draw a graph of the probability distribution. Label the axes. f. Find the probability that a phone call lasts less than nine minutes. g. Find the probability that a...
A statistical analysis of​ 1,000 long-distance telephone calls made by a company indicates that the length...
A statistical analysis of​ 1,000 long-distance telephone calls made by a company indicates that the length of these calls is normally​ distributed, with a mean of 280280 seconds and a standard deviation of 3030 seconds. Complete parts​ (a) through​ (d). a. What is the probability that a call lasted less than 230230 ​seconds?The probability that a call lasted less than 230230 seconds is . 0478.0478 . ​(Round to four decimal places as​ needed.) b. What is the probability that a...
A statistical analysis of​ 1,000 long-distance telephone calls made by a company indicates that the length...
A statistical analysis of​ 1,000 long-distance telephone calls made by a company indicates that the length of these calls is normally​ distributed, with a mean of 240 seconds and a standard deviation of 30 seconds. Complete parts​ (a) through​ (d). a. What is the probability that a call lasted less than 180 ​seconds? The probability that a call lasted less than 180 seconds is nothing. ​(Round to four decimal places as​ needed.) b. What is the probability that a call...
Historically, evening long-distance calls phone calls from a particular city have averages 12 minutes per call....
Historically, evening long-distance calls phone calls from a particular city have averages 12 minutes per call. In a random sample of 20 calls, the sample mean was 10.7 minutes per call with a standard deviation of 4 minutes. Does the sample indicate a change in the mean duration of long distance calls? Test the hypothesis at 10% level of significance, state the hypothesis and report your conclusion. a. estimate the p-value and show your work.
Question 3: (Minitab or Excel – Excel is easiest) The table below shows the average distance...
Question 3: (Minitab or Excel – Excel is easiest) The table below shows the average distance of each of the nine planets from the sun, and the length of the year (in earth years). Note that Pluto is not considered a planet anymore (check it out on Wikipedia). Number Position Distance from Sun (million miles) Length of Year in earth years Mercury 1 36 0.24 Venus 2 67 0.61 Earth 3 93 1 Mars 4 142 1.88 Jupiter 5 484...
A study of long-distance phone calls made from the corporate offices of the Pepsi Bottling Group...
A study of long-distance phone calls made from the corporate offices of the Pepsi Bottling Group Inc. showed the calls follow the normal distribution. The mean length of time per call was 4.2 minutes and the standard deviation was 0.60 minutes a) What is the probability the calls lasted between 3.5 and 4.1 minutes? b) What is the probability the calls lasted less than 3.4 minutes? c) As part of her report to the president, the director of communications would...
A consumer is trying to decide between 2 long-distance calling plans. The first one charges a...
A consumer is trying to decide between 2 long-distance calling plans. The first one charges a flat rate of 10 cents/min, while the second charges a flat rate of 99 cents for calls up to 20 minutes and then 10 cents for each additional minute exceeding 20 minutes (assume that calls lasting a noninteger number of minutes are charged proportionally, e.g. 6 seconds is 1/10 of a minute and so 6 seconds over 20 minutes would be charged 1 cent)....
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT