Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION 4 BP Service Station sells gasoline and has a car wash. Fees for the car wash are K15,000.00 with a gasoline purchase of K20,000.00

image text in transcribed
image text in transcribed
QUESTION 4 BP Service Station sells gasoline and has a car wash. Fees for the car wash are K15,000.00 with a gasoline purchase of K20,000.00 or more and K20,000.00 otherwise. Three kinds of gasoline are available: regular at K3,900.00, unleaded at K 4, 200.00, and super unleaded at K 4600.00 per litter. You are required to write a program that prints a statement for a customer. Input consists of number of litters purchased, kind of gasoline purchased (R, U, S, or for no purchase, N), and car wash desired (Y or N). Develop a Pseudocode and a structure chart for the service station problem. [10 Marks] Write a program to computer the amount due from a customer of the service station. [15 Marks) at use Cxt to to write the pro w D

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

Oracle 10g SQL

Authors: Joan Casteel, Lannes Morris Murphy

1st Edition

141883629X, 9781418836290

More Books

Students also viewed these Databases questions