logo Use SA10RAM to get 10%* Discount.
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Mario FuscoOthers
(5/5)

994 Answers

Hire Me
expert
Pierre BernierrBusiness
(5/5)

821 Answers

Hire Me
expert
Kaleb BryanttManagement
(5/5)

544 Answers

Hire Me
expert
Dorian FieldsResume writing
(5/5)

879 Answers

Hire Me
Python Programming

Design a program that asks the user to enter a store’s sales for each day of the week.

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

#1 - Store Sales

General Description:

Design a program that asks the user to enter a store’s sales for each day of the week (7 days). Assuming day 1 is "Monday" and day 7 is “Sunday”, create an array with the days of the week. Prompt the user for their input using the actual name of the day in the prompt.

 

Example: Enter the sales for Monday

 

The sales amounts should be stored in an array. Use a loop to calculate the total sales for the week and display the result (Total Sales). Finally, show a message informing the user which day of the week had the most sales and the name of the day.

Example: Wednesday had the most sales: $ 485.00

 

Specifics:

  • Days of the week and the Sales Amount arrays MUST be declared in the Main() and cannot be global

  • You must ask for the daily sales inside of a loop in the Main()

  • Use a Function to prompt the user for the sales amount for a given day. The function header needs to accept one argument: dayOfWeek as a string. The function will return the sales for that

 

Turn In:

  • Flowchart

  • Pseudo Code

#2 - Phone Number Lookup General Description:

Design a program that has two parallel arrays: a String array named friendList that is initialized with the names of 10 of your friends, and a String array named phoneNumbers that is initialized with your friends’ phone numbers (please use fake data). The program should allow the user to enter a person’s name (or part of a person’s name). It should then search for that person in the friendList array. If the person is found, it should get that person’s phone number from the phoneNumbers array and display it. If the person is not found in the people array, the program should display a message indicating so.

Specifics

  • The friendList and phoneNumbers array can be declared

  • Use a function that accepts a single argument: personNumber as an integer, to return the phone number from the

phoneNumbers array.

 

Turn In:

  • Flowchart

  • Pseudo Code

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme

Get Free Quote!

315 Experts Online