Question: Hi I'm confused can somoneone please help create a C++ program for this thanks Addison O'Reilly wants a program that calculates and displays the cost

Hi I'm confused can somoneone please help create a C++ program for this thanks
Hi I'm confused can somoneone please help create a C++ program for
this thanks Addison O'Reilly wants a program that calculates and displays the

Addison O'Reilly wants a program that calculates and displays the cost of a 4K Ultra HD TV, which is finally on sale at one of the stores in her area. The program should calculate the cost by multiplying the sale price by the state sales tax rate and then adding the result to the sale price. Figure 2-4 Problem specification for Addison O'Reilly When searching for the output, ask yourself the following question: What does the user want to see displayed on the screen, printed on paper, or stored in a file? The answer to this question is typically stated as nouns and adjectives in the problem specification. The problem specification in Figure 2-4 indicates that Addison (the program's user) wants to see the cost of the TV displayed on the screen; therefore, the output is the cost. In this context, the word cost is a noun. After determining the output, you then determine the input, which is also usually stated as nouns and adjectives in the problem specification. Here, look for an answer to the following question: What information will the computer need to know to display, print, or store the output items? It helps to think about the information that you would need to solve the problem manually because the computer will need to know the same information. In this case, to determine the cost, both you and the computer need to know the sale price and the sales, tax rate; these items, therefore, are the input. In this context, sale, sales, and tax are adjectives, while price and rate are nouns. This completes the analysis step for the Addison O'Reilly problem. Some programmers use an IPO chart to organize and summarize the results of the analysis step, as shown in Figure 2-5. IPO is an acronym for Input, Processing, and Output. // Program Analzing Problem I/ EET 110 I/ DenMark Simon // 2/1/23 \# include \# namespace \# cmath int main() cin sale price // sale price of just the 4k Ultra HD TV cin sales tax price // sales tax on the 4k Ulta HD TV cout sale price * state sales rate + the result of the sale pric cout Results

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!