#1 - Store Sales
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
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
#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.
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
DescriptionIn this final assignment, the students will demonstrate their ability to apply two majorconstructs of the C programming language – Fu
Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t
Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th
1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of
1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of