Questions
Smoky Mountain Corporation makes two types of hiking boots—the Xtreme and the Pathfinder. Data concerning these...

Smoky Mountain Corporation makes two types of hiking boots—the Xtreme and the Pathfinder. Data concerning these two product lines appear below:

Xtreme Pathfinder
Selling price per unit $ 120.00 $ 87.00
Direct materials per unit $ 63.30 $ 52.00
Direct labor per unit $ 17.00 $ 10.00
Direct labor-hours per unit 1.7 DLHs 1.0 DLHs
Estimated annual production and sales 22,000 units 76,000 units

The company has a traditional costing system in which manufacturing overhead is applied to units based on direct labor-hours. Data concerning manufacturing overhead and direct labor-hours for the upcoming year appear below:

Estimated
Overhead Cost
Expected Activity
Activities and Activity Measures Xtreme Pathfinder Total
Supporting direct labor (direct labor-hours) $ 703,080 37,400 76,000 113,400
Batch setups (setups) 480,000 220 180 400
Product sustaining (number of products) 700,000 1 1 2
Other 44,720 NA NA NA
Total manufacturing overhead cost $ 1,927,800

Compute the product margins for the Xtreme and the Pathfinder products under the activity-based costing system.

3. Prepare a quantitative comparison of the traditional and activity-based cost assignments.

Estimated total manufacturing overhead $ 1,927,800
Estimated total direct labor-hours 113,400 DLHs

In: Accounting

Suppose the inflation rate is expected to be 6% next year, 4% the following year, and...

Suppose the inflation rate is expected to be 6% next year, 4% the following year, and 2.15% thereafter. Assume that the real risk-free rate, r*, will remain at 2.45% and that maturity risk premiums on Treasury securities rise from zero on very short-term bonds (those that mature in a few days) to 0.2% for 1-year securities. Furthermore, maturity risk premiums increase 0.2% for each year to maturity, up to a limit of 1.0% on 5-year or longer-term T-bonds.

  1. Calculate the interest rate on 1-year Treasury securities. Round your answer to two decimal places.

    ________ %

Calculate the interest rate on 2-year Treasury securities. Round your answer to two decimal places.

________ %

Calculate the interest rate on 3-year Treasury securities. Round your answer to two decimal places.

________ %

Calculate the interest rate on 4-year Treasury securities. Round your answer to two decimal places.

________ %

Calculate the interest rate on 5-year Treasury securities. Round your answer to two decimal places.

________ %

Calculate the interest rate on 10-year Treasury securities. Round your answer to two decimal places.

________ %

Calculate the interest rate on 20-year Treasury securities. Round your answer to two decimal places.

________ %

Select the correct yield curve based on these data.

In: Finance

Treynor Pie Company is a food company specializing in high-calorie snack foods. It is seeking to...

Treynor Pie Company is a food company specializing in high-calorie snack foods. It is seeking to diversify its food business and lower its risks. It is examining three companies—a gourmet restaurant chain, a baby food company, and a nutritional products firm. Each of these companies can be bought at the same multiple of earnings. The following represents information about all the companies.
  

Company Correlation with
Treynor Pie
Company
Sales
($ millions)
Expected Earnings
($ millions)
Standard Deviation
in Earnings
($ millions)
Treynor PieCompany + 1.0 $ 197 $ 9 $ 4.0
Gourmet restaurant + .6 64 4 1.3
Baby food company + .3 54 2 1.8
Nutritionalproducts company .7 75 3 3.2


a-1. Compute the coefficient of variation for each of the four companies. (Enter your answers in millions (e.g., $100,000 should be entered as ".10"). Round your answers to 3 decimal places.)
  

a-2. Which company is the least risky?
  

Nutritional products company
Treynor Pie Company
Baby food company
Gourmet restaurant

a-3. Which company is the most risky?
  

Baby food company
Treynor Pie Company
Nutritional products company
Gourmet restaurant

b. Which of the acquisition candidates is most likely to reduce Treynor Pie Company's risk?
  

Nutritional products company
Gourmet restaurant
Baby food company

In: Finance

Given that Sale[NUM_ROW][NUM_COLUMN] is a two dimensional array of float- point type and the two constants...

Given that Sale[NUM_ROW][NUM_COLUMN] is a two dimensional array of float-

point type and the two constants are defined as follows:

#define NUM_ROW 4

#define NUM_COLUMN 4

float Value[NUM_ROW][NUM_COLUMN] =

{

2.1, 2.2, 2.3, 2.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2.0, 2.1, 2.2, 2.1, 2.2, 2.3, 2.4

};

Write a C++ main function that computes and prints out the following information about

this 2d array:

(1) The mean of all the Value[][] array elements (0.5 points).

(2) The median of all the Value[][] array elements (0.5 points)

(3) The local average values of all the array elements (1.0 points). For instance, the

local average value at position i, j = (Value[i-1][j]+Value[i+1][j]+Value[i][j+1]+Value[i][j-1]+Value[i][j])/5.

If (i+1) > NUM_ROW-1 or (i-1) < 0, use modulus operator to wrap around to the other end of the array index.

Create another array: Average[NUM_ROW][NUM_COLUMN], and use this array to store the values

of local average at each position of this 2d array. At the end, you need print out

the values of all the array elements of Average[][] on computer screen.

Parts (2) only please.

In: Computer Science

Jack Hammer Company completed the following transactions. The annual accounting period ends December 31. Apr. 30...

Jack Hammer Company completed the following transactions. The annual accounting period ends December 31.


Apr. 30

Received $660,000 from Commerce Bank after signing a 12-month, 8.5 percent, promissory note.

  June 6

Purchased merchandise on account at a cost of $80,000. (Assume a perpetual inventory system.)

July 15 Paid for the June 6 purchase.
Aug. 31

Signed a contract to provide security service to a small apartment complex and collected six months’ fees in advance amounting to $26,500. (Use an account called Unearned Revenue.)

Dec. 31

Determined salary and wages of $45,000 were earned but not yet paid as of December 31 (ignore payroll taxes).

Dec. 31 Adjusted the accounts at year-end, relating to interest.
Dec. 31 Adjusted the accounts at year-end, relating to security service.


Required:
1.

For each listed transaction and related adjusting entry, indicate the accounts, amounts, and effects on the accounting equation. (Do not round intermediate calculations. Enter any decreases to account balances with a minus sign. Enter your answers in transaction order provided in the problem statement.)



2.

For each item, indicate whether the debt-to-assets ratio is increased or decreased or there is no change. (Assume Jack Hammer’s debt-to-assets ratio is less than 1.0.) (Enter your answers in transaction order provided in the problem statement.)


In: Accounting

Find the readData() method Inside this method is a try block without any catch statements. Add...

  1. Find the readData() method
  2. Inside this method is a try block without any catch statements. Add the following 5 catch statements to this file (Hint: put them in the right order):
    1. RuntimeException
    2. Exception
    3. FileNotFoundException
    4. NumberFormatException
    5. InputMismatchException
  3. For each of these print out a short message describing the exception that occurred

Java Class

import java.io.File;
import java.io.FileNotFoundException;
import java.util.InputMismatchException;
import java.util.Scanner;

public class ReadInData {

   public static double readData(String fileName) {
       File file = new File(fileName);
       Scanner scan;
       double sum = 0;
       try {
           scan = new Scanner(file);
           int numOfValues = Integer.parseInt(scan.nextLine()); // Read in Val for # values
           for(int i = 0; i < numOfValues; i++) { // for-loop to get that many values
               sum += scan.nextDouble(); // add the values together (doubles)
           }
           scan.close();
           return sum; // return the sum of all the values in the file
       }//add catch statements here      
   }

   public static void main(String[] args) {
       System.out.println(readData("Test3.txt"));
       System.out.println(readData("Test2.txt"));
       System.out.println(readData("Text4.txt")); // notice spelling of the file name!
       System.out.println(readData("Test4.txt"));
   }

}

Test2.txt

6
5
3.0
"9.8"
-19.8
-54.1
85.5

Test3.txt

4.0
5.0
6.2
4.2
1.0

Test4.txt

5
4.2
3.1
2.2
6.1

In: Computer Science

Zemfira Inc., EBIT and Leverage. (Ross #1 ch.13) Zemfira Inc., has no debt outstanding and a...

Zemfira Inc., EBIT and Leverage. (Ross #1 ch.13) Zemfira Inc., has no debt outstanding and a total market value of $125,000. Earnings before interest and taxes are projected to be $10,400 if economic conditions are normal. If there is strong expansion in the economy, then EBIT will be 20 percent higher. If there is a recession, then EBIT will be 35 percent lower. Zemfira is considering a $42,000 debt issue with a 6 percent interest rate. The proceeds will be used to repurchase shares of stock. There are currently 6,250 shares outstanding. Ignore taxes for part a and b. a. Calculate EPS under each of three economic scenarios before any debt is issued. Also, calculate the percentage changes in EPS when the economy expands or enters a recession. b. Repeat part (a) assuming that Zemfira goes through with recapitalization. c. Repeat parts (a) and (b) assuming Zemfira has a tax rate of 35 percent. Will the percentage change in EPS be the same both with and without taxes? d. Suppose the company has a market-to-book ratio of 1.0 i. Calculate ROE under each of three economic scenarios before any debt is issued. Also, calculate the percentage changes in ROE for economic expansion and recession, assuming no taxes. ii. Repeat part (a) assuming the firm goes through with proposed recapitalization. iii. Repeat parts (a) and (b) assuming the firm has a tax rate of 35 percent.

In: Finance

This case deals with one of the pioneers in the electric scooter industry: Bird. Please read...

This case deals with one of the pioneers in the electric scooter industry: Bird. Please read the articles provided and answer the following questions:

1) Where is the demand for electric scooters coming from? How fast it is expected to grow? Why are investors buying into this industry? Elaborate. [It might be helpful to provide the target segment and its size to justify your answer].

2) What are the possible concerns impacting the demand of electric scooters? How attractive is this industry? [Use Porter’s five forces model to analyze the industry attractiveness]

3) The industry is at a nascent stage and there are already several competitors such as Lime and Skip (Uber and Lyft have also entered this arena). How should Bird position itself to differentiate from the competitors?

Article:

Bird’s electric scooters are getting more rugged to handle heavy use

A year ago, dockless electric scooters first appeared on the streets San Francisco and Santa Monica. The initial reaction was bewilderment, eventually giving over to annoyance and dismissal. The companies that were scattering these scooters everywhere, like Bird and Lime, seemed to epitomize tech-bro arrogance. Surely the fad would fade and the scooters would be shipped back overseas from whence they came, destined for some landfill in China.

Twelve months later, the scooters are in over 100 cities across the globe, and by most accounts, immensely popular. Bird and Lime have each reported over 10 million rides since their launch. Lime is valued at $1 billion; Bird at $2 billion. Ride-hailing giants Uber and Lyft are now getting in on the action, acquiring bike-share companies and applying for permits to operate their own e-scooters. Early complaints about vandalism, blocked sidewalks, and scofflaw riders — while still valid — have since given way to a realization that, hey, these things are kind of fun! And more than that, they could be a crucial link in helping cities solve crucial transportation challenges.

Against that backdrop, Bird CEO Travis VanderZanden spoke with The Verge about phase two in his plan to conquer the micro-mobility sector. Before founding Bird, VanderZanden was a ride-hail executive. He served as Lyft’s chief operating office until August 2014, when he left to join Uber. The move landed in him in hot water with his former employers, who filed a lawsuit claiming VanderZanden stole confidential material. The parties later settled for an undisclosed amount.

Now VanderZanden is out to steal Uber and Lyft’s customers, or at least the ones who use ride-sharing to take short trips across town. He spoke about Bird’s growth in ridership, building a more rugged scooter, and competition with his former employers in the ride-hailing sector.

The Verge: Congratulations on your one year anniversary.

Travis VanderZanden: Yeah. We’re super excited to announce the one year anniversary and take a minute to reflect on the last year. We’re now seeing that we’re doing 10 million rides, 100 cities with two million riders. The reason we get excited to get the numbers out is for us the first year was really... when we started the company it was suggested, can we use electric scooters to really get people out of cars? And we think the data from the first year it’s been kind of a big data point that people are willing to get out of cars and use electric scooters, so, excited to have the announcement.

What is the next stage, would you say, of the business?

Year two is all about, for us, doubling down on our efforts to work with cities and build out government technologies, call it our “GovTech” platform, where we’re spending a lot of our engineering resources building tools that the cities can use to have the insight into Bird’s data and also control Bird in their cities. So an example is that we just rolled out a geo-speed limiting feature where the Bird is already capped at 15 miles per hour, but when you enter a zone like the beach bike path in Santa Monica, the Bird will slow down to 8 miles per hour automatically. So we’re doing a bunch of cool things like that that help the cities. Year two is gonna be about doubling down on those efforts.

That also includes some geo-fencing, too, I understand, right?

Yeah, because there’s geo-fencing, the geo-speed limit’s going to work with geo-fencing on slowing you down. There’s also ‘no ride’ zones, there’s ‘no park’ zones... a bunch of cool things like that that we’re doing, and so we’re going to be continuing that in the second year.

I mean, it’s not that cool, right? For the first year it was ‘anything goes,’ ‘no rules,’ and now it’s like ‘okay, lots of rules that we have to contend with.’

Well, when we first launched the business, you know, we didn’t know if electric scooters were gonna work, we didn’t know if people would ride them. You know, companies have been trying to get Americans off cars for a long time and so it actually started as a small bet and what we found is people really enjoy riding the electric scooters, which we’re excited about. And we’ve been working with cities in year one as well, but we think year two is about doubling down on those efforts.

How are you adapting to cities introducing these pilot programs and wanting to have more control over the deployment and usage of the scooters?

Yeah, so you know, Ridesharing 1.0... we’re calling Bird Ridesharing 2.0 and two of the biggest changes from 1.0 are that we’re using environmentally friendly vehicles to help reduce carbon emissions and traffic. But the second big difference is really collaborating with cities and sharing data with them through the real-time API access, through the dashboards. And then building technology to control and manage Bird in their market.

What about the scooter itself? Are you guys sticking with the one you’ve got? Are you hoping to make any hardware upgrades?

Yeah, so we’ve been investing heavily over the last year. We built out a really big vehicle engineering team. We have the biggest vehicle engineering team in the industry. We’re working on future vehicles now. We’ve already started testing a new vehicle recently, which is a lot more ruggedized than our original vehicles and built specifically for the speedier sharing model

Can you give me any more details in terms of what that means?

The battery is 55 percent bigger. The shaft is built so it’s very durable. The brake cables aren’t exposed. The tires are solid core tires. We spent a lot of time trying to test tires that didn’t have air in them but still had a good rider experience, which was very important to us. We finally found we think the best tires in the world. So, big things like that, so we’re super excited to be testing these new vehicles.

How are you guys approaching the issue of safety? There have been recent reportsabout a rise in scooter related injuries. How are you hoping to deal with that problem, and how are you talking to the cities about that?“

Early on, Bird has prioritized safety over everything else, including growth. It’s easy to say that, but if you look at our actions, there’s a bunch of ways we’ve prioritized... So, three examples of us prioritizing safety over growth are we capped the vehicle speed at 15 miles per hour, even if the city doesn’t require us to do that. We require a driver’s license and the rider to be 18, even if the city doesn’t require us to do that. And we pick the Birds up at 9PM every night, even if the city doesn’t require it. And we also ship free helmets, even if the city doesn’t require it. It helps us sleep better at night, to really prioritize safety over growth.

Do you have any concern about personal injury attorneys filing class-action claims?

We think cars are dangerous. Our society is kind of built around cars, and cars can be dangerous. I’m sure you know the stat that 40,000 Americans died in car accidents last year. A stat you might not know is that another 6,000 people, pedestrians, died by getting run over by cars. It turns out any time you’re operating... or walking, or biking, or Birding around cars, it can be dangerous, and that’s why we try to educate the riders to wear a helmet. We’re working with cities and encouraging them to build more protected bike lanes. And really aligning with some of the bike advocates who’ve been wanting protected bike lanes for a long time.

In year two, obviously you’re gonna start to see competition from some of your former employers: Uber and Lyft are getting into the game. Are you concerned at all, sort of going up against them, considering obviously the amount of capital that they’re going to be bringing to the market?

No. I welcome Uber and Lyft into Ridesharing 2.0. We think Ridesharing 2.0 will make the world a better place, and we welcome them into that world. I think they’re kind of operating where we were a year ago, and so we think we’re much further ahead on vehicle engineering, on the government technology stuff. We share data with cities, which is something maybe they’re not used to in Ridesharing 1.0. We definitely welcome them.

So why do you think a user would choose a Bird over, say, a Lyft scooter at this point?

One, Bird’s in a hundred cities, and we have a lot more vehicles deployed, a lot more vehicles being manufactured and sent to us. There’s that. So the vehicles will be closer to users because we have more of them. In addition, we have built more ruggedized vehicles, while they’re still working on the vehicles we had a year ago, and haven’t figured out how to ruggedize them yet.

So you’re not worried that they might buy your supply chain out from underneath you?

No, we’re not concerned about it. We have great relationships that we’ve been building over the last year. In fact, we just signed an exclusive deal with the original manufacturer of the ruggedized scooter sharing company. It was the manufacturer that built the original Lime scooters. We have an exclusive deal with them. We continue to work with Ninebot and others. We think we’re far ahead on that, and I think we have access to the most supply right now. I understand a lot of others are having a hard time finding supply.

What’s the latest on bringing the scooters to New York? Obviously that would be a huge market for you guys.

I get excited about any market when there’s massive traffic and car problems, and certainly New York City’s high on that list. For us, we always wanna make sure that we’re legal before we go in. There are folks working with city and state officials to try to figure out how do we best fit in to the existing legal framework. I’m certainly excited about figuring it out. I think New York City would be way easier to get around on Bird than in a car, obviously.

Bird got shut out of San Francisco’s pilot program. Do you think there’s still a chance that you’ll be able to bring the scooters back to San Francisco at some point?

I haven’t spent much time digging into it. I think San Francisco’s just one city. We’re in a hundred cities now. It’s the only city we haven’t been able to stay operating in so far and get a permit. It doesn’t mean we don’t wanna be in San Francisco. We just haven’t spent a lot of time thinking about it right now, because there’s so many other cities that have been embracing the electric scooters. At some point, obviously, we would love to be in San Francisco. We’re just not spending a lot of time... we’re not protesting it or anything like that in the short term.

Yeah, but you did protest in Santa Monica before getting permits there.

Yeah. In Santa Monica, it’s our home state. We felt that’s where scooter sharing, where we originally invented and created scooter sharing. We felt maybe a little more sentimental about Santa Monica. Overall, we’re finding cities are really embracing these scooters. I think that the press tends to over focus on San Francisco. But we’re in a hundred cities now. When we talk to cities about our mission of reducing car trips and traffic and carbon emissions, it 100 percent aligns with the cities’ goals. They have the same goals. So it’s just a matter of figuring out how do we best fit in. Being in a hundred cities and doing 10 million rides in the first year is exciting and we have a lot of cities that are excited about electric scooters.

Bird has promised to provide funding for bike lanes. Are you doing that in every city that you’re operating in, or only just the cities that ask for that kind of thing?

We offer it in all cities and try to figure out who to pay, what initiative makes the most sense. For us, what’s important is investing in improving the bike infrastructure and scooter infrastructure in a city. The cities that have... a lot of cities have permits with their own permitting fees and then they use the permitting fees to go towards the bike infrastructure. An example is, you wanna use the money, you’re happy to help pay for dedicated bike lanes, to get dedicated parking spaces. There are dozens of parking spaces on the street per block, instead of taking that one space away from a car, you could probably fit 10-15 Birds in that same space... And we just think it’s a much more efficient use of space, but that said, we’re not asking for the city to pay us, and we’re not asking [for] a handout. We’re asking them to pay for that space. It’s just a matter of figuring out how do we make that happen. So we’ve certainly been trying.

Bird is in Paris and in Tel Aviv. Are you eyeing any other international cities?

Yeah. We just launched Brussels. We’re gonna be expanding throughout Europe and then next week we’ll have some more exciting announcements about some other international markets.

Did you ever expect this year to be as busy as it has been in terms of this business? Did you expect this to be as popular and as polarizing as it’s turned out to be?

I certainly didn’t expect it to be as polarizing. I think when I first thought about doing the business, I really felt like we could get people out of cars and using electric scooters. I didn’t think we would be able to do 10 million rides. By comparison, if you go back and look at... I think Lyft released an infographic and blog post about on their 15-month anniversary, and they did a million rides in that first 15 months. And to do 10 million rides in 100 cities has been very exciting to see. It doesn’t mean we don’t have a lot of work ahead, and we wanna continue to work with cities to see how do we make it less polarizing, how do we fit in, how do we get dedicated parking so that people don’t complain about the Birds being parked where they shouldn’t be. I think we’re... we’d like the team to work on that so we’ve gotten less polarizing... I know when the car was first introduced and everybody got around on horses, the car had a similar reaction as commuters now to scooters. I think if we can break this car addiction we have, I think it’s ultimately that we will make a road there.

In: Economics

​​​​​ 1 Do you own a pet? 2 How old are you? 3 How much do...

​​​​​

1 Do you own a pet?
2 How old are you?
3 How much do you weigh? (lbs)
4 Male or Female?
5 Do you drink alcohol?
6 How often do you watch movies at the theater per month?
7 How often do you eat fast food per week?
8 Do you like spicy food?
9 Do you prefer Android or iOS?
10 Do you prefer Windows of Mac?
11 How many times a year do you go on vacation?
12 Do you currently have a paying job?
13 Do you prefer summer or winter?
14 Do you prefer ebooks or physical books?
15 How many siblings do you have?
16 Do you prefer salty or sweet snacks?
17 Do you consider yourself an introvert or extrovert?
18 How my hours a week do you exercise?
19 Do you prefer to play on a team sport or individual (non-team) sport?
20 Which is scarier, Bees or Spiders?
21 How many hours a day do you use social media?
22 Do you binge watch TV shows? (4+ shows at a time)
23 Do you still live with your parents?
24 Have you ever visited a different country?
25 Do you speak more than one language?
26 Do you have a college degree?
27 How many dependents (children) that currently lives with you?

1. When collecting data there must be a balance between getting necessary information and violating personal privacy. Come up with 3 questions you feel that would violate your personal privacy. Explain why you believe these questions are a privacy concern? These 3 questions should be unrelated to the questions from the Big Data excel file.

  1. ???
  2. ???
  3. ???
  1. Come up with 5 questions (for data collection) you would get from a population (large city or county) that you think would be interested by companies who would purchase for their business intelligence analysis. Provide a 1-2 sentence for each question explaining how you think this data would be used by other companies. These questions should be not already have been used from the Big Data excel file.

  1. ???
  2. ???
  3. ???
  4. ???
  5. ???

In: Operations Management

Using JAVA 2. A run is a sequence of adjacent repeated values. Write a code snippet...

Using JAVA

2. A run is a sequence of adjacent repeated values. Write a code snippet that generates a sequence of 20 random die tosses in an array and that prints the die values, marking the runs by including them in parentheses, like this:

1 2 (5 5) 3 1 2 4 3 (2 2 2 2) 3 6 (5 5) 6 (3 3)

Use the following pseudocode:

inRun = false

for each valid index i in the array

If inRun

If values [i] is different from the preceding value

Print )

inRun = false

If not inRun

If values[i] is the same as the following value

Print (

inRun = true

Print values[i]

//special processing to print last value

If inRun and last value == previous value, print  “ “ + value + “)”)

else if inRun and last value != previous value, print  “) “ + value )

else print “ “ + last value

3.

Implement a theater seating chart  as a two-dimensional array of ticket prices, like this:

{10, 10, 10, 10, 10, 10, 10, 10, 10, 10}

{10, 10, 10, 10, 10, 10, 10, 10, 10, 10}

{10, 10, 10, 10, 10, 10, 10, 10, 10, 10}

{10, 10, 20, 20, 20, 20, 20, 20, 10, 10}

{10, 10, 20, 20, 20, 20, 20, 20, 10, 10}

{10, 10, 20, 20, 20, 20, 20, 20, 10, 10}

{20, 20, 30, 30, 40, 40, 30, 30, 20, 20}

{20, 30, 30, 40, 50, 50, 40, 30, 30, 20}

{30, 40, 50, 50, 50, 50, 50, 50, 40, 30}

Write a code snippet that:

- uses a for loop to print the array with spaces between the seat prices

- prompts users to pick a row and a seat using a while loop and a sentinel to stop the loop.

- outputs the seat price to the user.

4. A pet shop wants to give a discount to its clients if they buy one or more pets and at least three other items. The discount is equal to 20 percent of the cost of the other items, but not the pets.

Write a program that prompts a cashier to enter each price and then a Y for a pet or N for another item. Use a price of –1 as a sentinel. Save the price inputs in a double(type) array and the Y or N in a corresponding boolean (type) array.

Output the number of items purchased, the number of pets purchased, the total sales amount before discount and the amount of the discount.

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

Thank you so much!

In: Computer Science