1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
vlabodo [156]
3 years ago
13

Five Star Retro Video rents VHS tapes and DVDs to the same connoisseurs who like to buy LP record albums. The store rents new vi

deos for $3.00 a night, and oldies for $2.00 a night. Write a program that the clerks at Five Star Retro Video can use to calculate the total charge for a customer’s video rentals. The program should prompt the user for the number of each type of video and output the total cost.
Computers and Technology
1 answer:
77julia77 [94]3 years ago
4 0

Answer:

here is code in C++.

#include <bits/stdc++.h>

using namespace std;

int main()

{

   // variables to store number of each video

   int new_video,old_video;

   double total_charge;

   cout<<"Please enter number of new video:";

   // read number of new video

   cin>>new_video;

   cout<<"Please enter number of old video:";

   // read number of old video

   cin>>old_video;

   // total change

   total_charge=(3.0*new_video)+(2.0*old_video);

   cout<<"total cost is: "<<total_charge<<endl;

return 0;

}

Explanation:

Declare two variables "new_video" and "old_video" to store the number of each type of video.Read the value of both from user.Then calculate total charge by multiply 3.0 to number of new video & 2.0 to number of old video and add both of them. This will be the total charge.

Output:

Please enter number of new video:4

Please enter number of old video:6

total cost is: 24

You might be interested in
Tell four permanent icons on the desktop​
Alex777 [14]

Answer:

Desktop icons include Computer, your personal folder, Network, the Recycle Bin, Internet Explorer, and Control Panel. 1. Right-click an empty area of the desktop, and then click Personalize.

To arrange icons by name, type, date, or size, right-click a blank area on the desktop, and then click Arrange Icons. Click the command that indicates how you want to arrange the icons (by Name, by Type, and so on).

5 0
3 years ago
Which of the following is an example of a syntax error?
Yuri [45]

Answer:

misspelling a programming language word

Explanation:

Syntax error is the type of error in programming, when the programmer insert some symbol that is not present in directories or libraries, the programmer not followed the rules of that particular programming language that is understandable to compiler.

For example in C++, it is necessary to insert the semicolon (;) after each statement. If the programmer not insert the semicolon after each statement, the program will show the syntax error.

If the programmer use integer instead of int to assign datatype to the variable in C++, it will also leads to the syntax error. Because in C++ library, Integer is defined with the help of "int".

4 0
3 years ago
true or false? the email body copy, the body design/layout, the body images, the cta, and the email signature are all elements t
Kisachek [45]

False: Elements that can effect your email's open rate include the email body copy, the body design/layout, the body images, the cta, and the email signature.

Understanding why you are sending the email, your purpose, and the value you are providing to the recipient are three essential components of sending the perfect email.

When an email is successfully delivered to the receiving server, it is said to have been delivered. When an email successfully reaches a recipient's inbox, it is said to have been delivered. It is possible to have strong email delivery but poor deliverability if the recipient's spam folder received the message instead of their inbox.

You must comprehend your audience's interests, problems, patterns of behavior, reasons for doing things, and objectives. For each audience, develop unique buyer personas. Knowing more about your audience will help you make sure.

To know more about email click here:

brainly.com/question/14666241

#SPJ4

6 0
1 year ago
Justify the statement "The same job title can have different job roles and different qualification criteria in different organiz
Lana71 [14]

Answer:

Below is an executive summary of this particular issue.

Explanation:

  • Each organization has differential requirements and preferences. This same employment opportunities rely heavily on either the structure of the company and indeed the amount of equipment that it possesses.
  • Hence, whenever they recruit an individual on a specific job, their work description can differ based on the organization's needs including growth.
4 0
4 years ago
The main reason for using a comment in your HTML code is to
zvonat [6]

Answer:

D, document and explain parts of code

Explanation:

Mark me brainliest :)

8 0
2 years ago
Other questions:
  • What is the purpose of the backoff on Ethernet networks?
    5·1 answer
  • ] why was drone-defense equipment deployed at airports in the United Kingdom?
    13·1 answer
  • "The graphics driver was recently updated on a system. Now, the graphical user interface (GUI) is not displaying, preventing the
    9·1 answer
  • Give two differences between EIRGP and RIP.
    14·1 answer
  • When you use information hiding by selecting which properties and methods of a class to make public, you are assured that your d
    14·1 answer
  • Help pls. Computer basics.
    5·2 answers
  • Fill in the blanks of the SQL Statements: Fund_Id VARCHAR(10) , Donor_id VARCHAR(10) , Count_Of_Receipts INTEGER, Total_Receipts
    15·1 answer
  • In the given switch statement, what will be displayed if the value of var is 3? switch(var) { case 1: System.out.println("Apple"
    12·1 answer
  • Write a program to compute the sum of digits in a number given by the user. You must use your own function to compute the sum of
    6·1 answer
  • Debug the program so it prints the factorial of a positive integer entered by the user. This is calculated by multiplying all th
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!