1. Write a program that accepts from the user a unit price of a certain product and the quantity of that product bought by a customer.  It should compute and display the amount payable.   note: discuss or explain the solution of the problem   use this: #include int main()

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter15: Recursion
Section: Chapter Questions
Problem 15SA
icon
Related questions
Question

Read and understand  the following problem:

 

1. Write a program that accepts from the user a unit price of a certain product and the quantity of that product bought by a customer.  It should compute and display the amount payable.

 

note: discuss or explain the solution of the problem

 

use this:

#include <stdio.h>

int main()

Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning