Extension: cash register program
3 3 unread replies.3 3 replies.
in codesku...
Computers and Technology, 29.10.2019 02:31 zay65307
Extension: cash register program
3 3 unread replies.3 3 replies.
in codeskulptor, write a cash register program that calculates change for a restaurant of your choice. your program should include:
ask the user to input the cost of 3 items purchased by the customer*
tell the user the total cost of the items purchased
ask the user to input the amount paid by the customer
calculate and print the amount of change to be given to the customer
*hint: what data type will you need to use to deal with money (decimal numbers)?
then, save your program and post the link to it into the discussion below.
after you post, you will be able to see the programs submitted by other students. look through their programs and reflect: how are the programs similar to yours? how are they different?
Answers: 2
Computers and Technology, 22.06.2019 17:00
Your computer running windows 10 is doing some very strange things with the operating system. you are fairly certain it is not a hardware issue. you need to try to get further insight into what is going on within the operating system. which tool would be best suited for this?
Answers: 2
Computers and Technology, 22.06.2019 22:00
Consider the following declarations (1, 2, 3, 5, 7)class bagtype{public: void set(string, double, double, double, double); void print() const; string getstyle() const; double getprice() const; void get(double, double, double, double); bagtype(); bagtype(string, double, double, double, double); private: string style: double l; double w; double h; double price; }; a.) write the definition of the number function set so that private members are set according to the parametersb.) write the definition of the member function print that prints the values of the data membersc.) write the definition of the default constructor of the class bagtype so that the private member variables are initialized to "", 0.0, 0.0, 0.0, 0.0, respectively d.) write a c++ statement that prints the value of the object newbag.e.) write a c++ statement that declares the object tempbag of type bagtype, and initialize the member variables of tempbag to "backpack", 15, 8, 20 and 49.99, respectively
Answers: 3
Computers and Technology, 23.06.2019 09:00
What provides an array of buttons for quick access to commonly used commands and tools
Answers: 1
Computers and Technology, 23.06.2019 09:30
:you areto design the controller for alight that functions both as an ordinary light and also as a motion activated light and alarm. a.if the manual switch s is on, then the light l is on. b.besides the manual switch, there is a motion detector, m1, which activatesthis light.c.if motion is detected but the light is on anyway because s is on, only then a secondoutput a, an alarm, is turned on. d.the disable switch, d, disables the motion activated light and alarmbut leaves manual control operation of the light using switch s.(i)read the problem statement and clearly identify the inputs and outputs for the circuit you are designing. (ii)create the truth table for this system; include the light, alarm, switch, disable, and the motion sensor.(iii)draw a schematic of this system.
Answers: 1
Computers and Technology, 30.06.2019 00:10
Biology, 30.06.2019 00:10
Mathematics, 30.06.2019 00:10
Mathematics, 30.06.2019 00:10
History, 30.06.2019 00:10
Mathematics, 30.06.2019 00:10
Computers and Technology, 30.06.2019 00:10
Computers and Technology, 30.06.2019 00:10
Computers and Technology, 30.06.2019 00:10
Computers and Technology, 30.06.2019 00:10