SPIES BERDAFTAR

27 January 2015

c programming source code sharing #5 : Buying Ticket/Booking Hotel using switch

ASSALAMMUALAIKUM W.B.T. peeps !

question example:

Ticket Type             Code         Price
Bed Class                   D             65
Standard Class           E              40
Economy Class           S              29

Ask user to input ticket type's code & number of seats they want to buy.
Display total price including 6% government tax.

snapshot of source code :
CLICK THE IMAGE FOR LARGER VIEW

CLICK HERE FOR THE C FILE (can copy&paste and try to compile on your own compiler&edit)

regards,

No comments:

Post a Comment

pecah kaca sebab koman,
lepas baca harap komen. :D