![Computers and Technology](/tpl/images/cats/informatica.png)
Computers and Technology, 16.09.2021 16:00, babyphoraaaaa
Write a C++ program that computes the cost of a long-distance call.
The cost of the call is determined according to the following rate schedule:
a. Any call started between 8:00 A. M. and 6:00 P. M., Monday through Friday, is billed at a rate of $0.40 per minute.
b. Any call starting before 8:00 A. M. or after 6:00 P. M., Monday through Friday, is charged at a rate of $0.25 per minute.
c. Any call started on a Saturday or Sunday is charged at a rate of $0.15 per minute.
The input will consist of the day of the week, the time the call started, and the length of the call in minutes. The output will be the cost of the call. The time is to be input in 24-hour notation, so the time 1:30 P. M. is input as (must be the following format:)
13:30
The day of the week will be read as one of the following pairs of character values, which are stored in two variables of type char:
Mo Tu We Th Fr Sa Su
Be sure to allow the user to use either uppercase or lowercase letters or a combination of the two. The number of minutes will be input as a value of type int.
Format your output to two decimal places.
![answer](/tpl/images/cats/otvet.png)
Answers: 1
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 05:00, Siebee23
This program will store roster and rating information for a soccer team. coaches rate players during tryouts to ensure a balanced team. (1) prompt the user to input five pairs of numbers: a player's jersey number (0 - 99) and the player's rating (1 - 9). store the jersey numbers in one int vector and the ratings in another int vector. output these vectors (i. e., output the roster). (3 pts) ex: enter player 1's jersey number: 84 enter player 1's rating: 7 enter player 2's jersey number: 23 enter player 2's rating: 4 enter player 3's jersey number: 4 enter player 3's rating: 5 enter player 4's jersey number: 30 enter player 4's rating: 2
Answers: 1
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 16:30, sayedaly2096
What type of file does a cookie place on web site visitors' computers so that web site managers can customize their sites to their visitors' preferences?
Answers: 1
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 21:30, mjweed2456
Nathan wants to create multiple worksheet containing common formatting styles for his team members. which file extension him to save these worksheets? nathan to create multiple worksheets with common styles. he needs to save them with the extension.
Answers: 1
Do you know the correct answer?
Write a C++ program that computes the cost of a long-distance call.
The cost of the call is determ...
Questions in other subjects:
![Konu](/tpl/images/cats/himiya.png)
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 11.03.2021 05:00
![Konu](/tpl/images/cats/en.png)
English, 11.03.2021 05:00
![Konu](/tpl/images/cats/informatica.png)
Computers and Technology, 11.03.2021 05:00
![Konu](/tpl/images/cats/biologiya.png)
![Konu](/tpl/images/cats/fizika.png)
![Konu](/tpl/images/cats/istoriya.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 11.03.2021 05:00