Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ language Write a program that computes 83 percent of box office sales of $350000 and output the result to the screen. Wheels of Fury

image text in transcribed

C++ language

Write a program that computes 83 percent of box office sales of $350000 and output the result to the screen. "Wheels of Fury" opened to box office sales of $350,000 and the studio gets 83 percent of the box office back to them. Write a program that computes how much that will actually be. Create a variable that represents the box office amount and then assign 350000 to that variable- use a meaningful variable name and display the result to the screen with a label. Create another variable that has the percent that the studio gets as part of the box office- use a meaningful variable name and display the result to the screen with a label. Finally compute the box office percentage and put that amount into another variable that totals the results (again use a meaningful variable name) and display that result to the screen with a label. If you want you output to look like dollars and cents, add #include

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spatio Temporal Database Management International Workshop Stdbm 99 Edinburgh Scotland September 10 11 1999 Proceedings Lncs 1678

Authors: Michael H. Bohlen ,Christian S. Jensen ,Michel O. Scholl

1999th Edition

3540664017, 978-3540664017

More Books

Students also viewed these Databases questions