Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Calculate water bill based on water consumption as given Deiow. Usage first 20m3 charge is 40 cents per m3 Additional 20m3 charge is 20 cents
Calculate water bill based on water consumption as given Deiow. Usage first 20m3 charge is 40 cents per m3 Additional 20m3 charge is 20 cents per m3 Extra usage charge is 10 cents per m3 Input Process Output : Calculate phone bill based on the following term: Usage less than RM50 per month - no discount will be given Usage less than RM100 per month - get 5% discount Usage RM100 above per month - get 20% discount Input Process : Output : Read and determine the smaller and larger between two numbers. Print the smaller number followed by the larger number if they are not equal. Otherwise, print the message "The numbers are equal". Input Process: Output
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started