Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

College of Information Technology Department of Computer Science ITCS 1 1 3 Assignment # 2 ACE balloon shop sells balloons to customers at 1 0

College of Information Technology
Department of Computer Science
ITCS113
Assignment #2
ACE balloon shop sells balloons to customers at 10 fils each. If the customer buys 500-1000 balloons, the price is 8 fils each. If the customer buys over 1000 balloons, the price is 6 fils each. Write a program that reads the number of balloons to purchase and prints the amount of the bill?
Sample Input/Output:
Enter number of balloons:
600
The Total bill amount is: 4800 fils
image text in transcribed

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_2

Step: 3

blur-text-image_3

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

Data Access Patterns Database Interactions In Object Oriented Applications

Authors: Clifton Nock

1st Edition

0321555627, 978-0321555625

More Books

Students also viewed these Databases questions

Question

Was there an effort to involve the appropriate people?

Answered: 1 week ago