subject
Computers and Technology, 14.07.2019 05:10 Kassi07

Write a program in a class flowercounter that computes the cost of flowers sold at a flower stand
-five kinds of flowers- petunia, pansy, rose, violet, and carnation--are stocked and cost, respectively, 50 cents, 75 cents, 1.50, 50 cents, and 80 cents per flower.
-create an array of strings that holds the names of these flowers
-create another array that holds the cost of each corresponding flower
-your program should read the name of a flower and the quantity desired by a customer
-locate the flower in the name array and use that index to find the cost per stem in the cost array
-compute and print the total cost of the sale

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:30
Alex’s family members live in different parts of the world. they would like to discuss the wedding plans of one of their distant relatives. however, alex wants all the family members to talk to each other simultaneously so that they can make decisions quickly. which mode of internet communication should they use? a. blog b. email c. wiki d. message board e. instant messaging
Answers: 2
question
Computers and Technology, 23.06.2019 03:30
In vista and windows 7, the appearance and personalization option allows you to change the
Answers: 1
question
Computers and Technology, 23.06.2019 10:50
Your friend kayla is starting her own business and asks you whether she should set it up as a p2p network or as a client-server network. list three questions you might ask to kayla decide which network to use and how her answers to those questions would affect your recommendation.
Answers: 2
question
Computers and Technology, 23.06.2019 21:20
In microsoft word, when you highlight existing text you want to replace, you're in              a.  advanced mode.    b.  automatic mode.    c.  basic mode.    d.  typeover mode
Answers: 1
You know the right answer?
Write a program in a class flowercounter that computes the cost of flowers sold at a flower stand
Questions
question
History, 25.03.2020 14:29
question
History, 25.03.2020 14:29
question
Mathematics, 25.03.2020 14:29
question
Mathematics, 25.03.2020 14:30
question
Mathematics, 25.03.2020 14:31
question
Mathematics, 25.03.2020 14:31
question
Mathematics, 25.03.2020 14:32
question
Mathematics, 25.03.2020 14:32
Questions on the website: 13722359