C++ PLEASE UN 15 MINUTES IN CLASS USE WHILE LOOP
Write a code in visual studios C++ that executes the following: - Ask the user which variable they would like to sweep. You can ask them to choose between options 1-5, listing what those options are, and based on their selection, ask the relevant question using a branching routine. Alternatives are as follows (the user needs to choose one from these options): 1) Cost of cashier per hour (in dollars). Sweep range: $10-50 in $1 increments. 2) Cost of wait time per customer per minute (in cents). Sweep range: ¢1-¢20 in ¢1 increments. 3) Number of cashiers. Sweep range: integers between 1-5. 4) Maximum interarrival time. Sweep range: integers between 2-10. 5) Maximum service time. Sweep range: integers between 2-30. Use the default values of $25 for cashier cost per hour, ¢3 wait time cost per customer per minute, 3 cashiers, 1 minute minimum interarrival time, 6 minute maximum interarrival time, 1 minute minimum service time, and 20 minute maximum service time. Whichever option is selected, the value entered by the user should overwrite the default value for that option. Then, calculate the expected value of the total cost based on the information you receive from the user for the complete range. Show the user on the screen what the expected total cost is going to be for each value within the sweep range.
C++ PLEASE UN 15 MINUTES IN CLASS USE WHILE LOOP Write a code in visual studios...
C++ USE WHILE LOOP PLEASE IN CLASS HURRY Write a code in visual studios C++ that executes the following: - Ask the user which variable they would like to sweep. You can ask them to choose between options 1-5, listing what those options are, and based on their selection, ask the relevant question using a branching routine. Alternatives are as follows (the user needs to choose one from these options): 1) Cost of cashier per hour (in dollars). Sweep range:...
Needs Help with Java programming language For this assignment, you need to write a simulation program to determine the average waiting time at a grocery store checkout while varying the number of customers and the number of checkout lanes. Classes needed: SortedLinked List: Implement a generic sorted singly-linked list which contains all of the elements included in the unsorted linked list developed in class, but modifies it in the following way: • delete the addfirst, addlast, and add(index) methods and...
This is in c programming using functions in visual studios Carpet Jolb A carpeting company wants to estimate what it will cost a customer to have a room carpeted. They can carpet 65 sq. ft. of room space in 4 hours, and they charge $25.00 per hour as their labor rate Write a program to ask the user for the length of the room (in inches) to be carpeted, the width of the room (in inches) to be carpeted, and...
C++ Sample run might look like this: How many minutes should the simulation run? 10 Running simulation for 10 minutes. minute 1: nothing happens minute 2: customer 1 arrives and will need 3 minutes to check out minute 3: nothing happens minute 4: customer 2 arrives and will need 1 minute to check out minute 5: customer 3 arrives and will need 1 minute to check out minute 5: customer 1 has checked out minute 6: customer 2 has checked...
Write the code in C with all the right output please. Problem: In this assignment you will analyze a data set of 10,000 randomly generated integers. From this data set you will display a count of the prime numbers that are greater than the average (double) of the entire data set. The user will input only a single integer value to serve as the seed for the random number generator. The use of a common seed will result in output...
Using C++ in Visual Studios Rewrite the code to use a Stack instead of a Queue. You will need to think about the differences in the Stack and Queue. Think about how they operate and how the nodes may differ. Modify the code as necessary. You will need to push to the Stack, pop from the Stack, peek at the Stack. You will need a member functions like in the example code. Your program will need to show that everything...
write a code on .C file Problem Write a C program to implement a banking application system. The program design must use a main and the below functions only. The program should use the below three text files that contain a set of lines. Sample data of these files are provided with the assessment. Note that you cannot use the library string.h to manipulate string variables. For the file operations and manipulations, you can use only the following functions: fopen(),...
write in C++ Problem 1: Mobile Service Provider A cell phone service provider has three different subscription packages for its customers. Package A: For $39.99 per month 450 minutes are provided. Additional minutes are $0.45 per minute. Package B: For $59.99 per month 900 minutes are provided. Additional minutes are $0.40 per minute. Package C: For $69.99 per month unlimited minutes provided. Write a program that calculates a customer’s monthly bill. It should ask which package the customer has purchased...
please write C++ code to finish R0,R1,R2 Introduction In this assignment, you are going to develop a "Schedule Book System that runs in the command line environment. The system stores the schedule of events input by user and allows users to add view or delete events. You can assume that the system can at most store 100 events Each group is required to write a Win32 Console Application program called ScheduleBook.cpp The requirements are listed below. RO When the program...
The Code need to be in C# programming language. could you please leave some explanation notes as much as you can? Thank you Create the following classes in the class library with following attributes: 1. Customer a. id number – customer’s id number b. name –the name of the customer c. address – address of the customer (use structs) d. telephone number – 10-digit phone number e. orders – collection (array) of orders Assume that there will be no more...