

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This is lab assignment for Computer Programming course by Anushka Banton at Biju Patnaik University of Technology, Rourkela. It includes: Program, Character, Options, Area, Items, Ordered, Price, Display, Money, Exhange, Currencies
Typology: Exercises
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Write a Café Menu Program. First screen shows today’s menu. Items can be ordered by pressing their respective serial number. User can check out on pressing the last option. Prices are displayed in Rupees. But if user likes to pay in Dollars than appropriate conversion should be made [Assume 1$ = 80 Rs].
Use if else statement for selecting options.
Café
Today Recipes [Select Any]
Place Your Order [1-4] or Press [5] to Exit:? You Order # Will You Like to Pay in Rupees or Dollars? Press [R or $]:? Thanks for Buying. Your bill is $0.
Write a Money Exchange Program. First screen shows available currencies. Customer select possessing money and currency type by pressing their respective serial number. User can exit on pressing the last option. [Assume 1$ = 80 Rs, 1 Euro = 120 Rs, 1 Riyaal = 22 Rs].
Use if else statement for selecting options.
Money Exchange
Welcome: What Currency you posses [Select Any]?
Please select you option [1-5]:? How much money you want to exchange:? In which currency you like to exchange [1-4]:? Thanks! Money Exchanged : From Rupees to Dollar [ 160 Rs = 2 Dollar]