A courier service provides a speed service for any letter/ parcel to new york which delivers on the same day as per the rate given below: Write an algorithm/program to input the parcel weight in grams and calculate and print the total charge for a parcel. Up to 100 gms: Rs. 80 For each additional 100 gm or part thereof Rs. 40 Eg., sample input : 320 gm. Charge : up to 100 gms =Rs.80 For next 200 gms = Rs. 80 For 20 gms = Rs.40 Total charge = Rs.200
@Yuliacosta111 what about this ??
Hello again hari, This is pretty much like what you did yesterday do you have any code you have typed up already?
no @kva1992 can u help me make one
@hartnn @Nnesha @iGreen @@inkyvoyd
You do not have any code?
Type all the code except the if statement and I'll help with that. I that should be the hardest part
start charge=0 input weight .................... ................... ................... ..... .... .... ... print total charge stop is this right i guess plss check @kva1992
Yes that's right if that is pseudocode make sure you specify the if statement within that though
what is the if statements ???
@kva1992
@imqwerty ca u tell me the if statements pseducode
@AlexandervonHumboldt2
@StudyGurl14 @sleepyjess @xapproachesinfinity @lalaly @ShadowLegendX
?
Join our real-time social learning platform and learn together with your friends!