Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Instructions Read the problem description below. Create the Decomposition for this problem. Additionally supply a listing of inputs and outputs. Finally provide an algorithm describing

image text in transcribed

Instructions Read the problem description below. Create the Decomposition for this problem. Additionally supply a listing of inputs and outputs. Finally provide an algorithm describing how you would write the selection structure for this problem. Remember this is NOT to be solved using Python. Submissions showing Python code will receive a 0. Finally make sure you clearly mark your answer as Decomposition, Inputs \& Outputs and Algorithm. Your answer will be graded according to the following point distribution: - Decomposition: 1.5 points - Inputs/Ouputs: 1.5 points - Algorithm: 2 points Problem Create a program that will ask the user for their favorite cider mill treat. Additionally ask the user the number of treats they wish to purchase. Use the list below for phices: - Doughnuts ==>$4.50 - Apples =>$3.50 - All other treats ==>$5.00 Based upon the price and the quantity the program will determine the total for the order. The program needs to display to the user the price of one treat and the total for their order

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

Practical Database Programming With Visual Basic.NET

Authors: Ying Bai

1st Edition

0521712351, 978-0521712354

More Books

Students also viewed these Databases questions