45. Write a program to ask quantity of pen, copy and pencil and their rate and find out the total amount.(Java, Python, JavaScript, QBasic, C, Go, c++, C#, R)

Algorithm:

Step 1: Start

Step 2: Input Quantity and Rate Pen, Copy and Pencil. (QP, RP, QC, RC, QPC, RPC)

Step 3: TA = ( QP * RP ) + ( QC * RC ) + ( QPC * RPC )

Step 5: Print “ Total Amount = “ TA

Step 6: Stop/End

Flowchart:

Create a flowchart to ask quantity of pen, copy and pencil and their rate and find out the total amount.
Create a flowchart to ask quantity of pen, copy and pencil and their rate and find out the total amount.
Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post

44. Write a program to input the day and display whether the day is Saturday or not?(Java, Python, JavaScript, QBasic, C, Go, c++, C#, R)

Next Post

46. Write a program in java to convert decimal number to octal number.(Java, Python, JavaScript, QBasic, C, Go, c++, C#, R)

Related Posts