Computer Science, asked by aditiadvikaanand, 11 months ago

Write a program in QBasic format to print the total amount paid to the shopkeeper for purchasing the following items: Number of exercise books- 10 , Number of brown paper rolls - 4 .​

Answers

Answered by maheshwarishipra2
0

Answer:

s

Explanation:

sknnd s and colour in the end w the email and colour it is combination with other dogs and colour one of my life support system to support each regards the pollution really remember to include end BD

Answered by AskewTronics
2

Below are the program and the output of Q-Basic Program for the above defined question.

Output :

If the user input as 4 and 5 for the cost, then it will print the 60.

Explanation:

INPUT "Enter the cost of exercise books",Cost_Books 'Take the cost of books from the user.

INPUT "Enter the cost of brown paper",Brown_paper'Take the cost of brown paper from the user.

PRINT"Total amount paid to the shopkeeper are :",(Cost_Books*10)+(Brown_paper*4)'Calculate the amount which is need to paid to the shopkeeper.

Code Explanation :

  • The above code is in Q-Basic, in which the user enter the cost, and the program will calculate the cost of 10 books and 4 rolls.
  • This is already mentioned on the question.

Learn More :

  • Q-Basic: https://brainly.in/question/2343849

Similar questions