Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Draw/Write the flowchart/pseudocode on a piece of paper and explain your answer. A food stall sells the following: tempura, squid balls, hotdog, siomai and softdrink

Draw/Write the flowchart/pseudocode on a piece of paper and explain your answer.

  1. A food stall sells the following: tempura, squid balls, hotdog, siomai and softdrink (soda). The cost of a tempura per stick is 10.00, squid balls per stick is 15.00, hotdog on a stick is 25.00, siomai per piece is 3.00 and a glass of a softdrink is 15.00. Suppose a certain customer buys all these, draw a flowchart/write a pseudocode to represent the logic of a program that allows the user to input the number of sticks of tempura, number of sticks of squid balls, number of sticks of hotdog, quantity of siomai, and number of glasses of a softdrink the customer bought. It should compute the payable per item (tempura, squid balls, hotdog, siomai and softdrink) and the total amount payable of the customer. The program should display the amount payable per item and the total payable of all items that the customer needs to pay.

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

Introduction to Wireless and Mobile Systems

Authors: Dharma P. Agrawal, Qing An Zeng

4th edition

1305087135, 978-1305087132, 9781305259621, 1305259629, 9781305537910 , 978-130508713

More Books

Students also viewed these Programming questions

Question

Which of the key word is used to create an instance of a class?

Answered: 1 week ago