Menu Driven Programs #2 | Java Programming Project
Write a Program For An Electronic Shop that has announced the following Seasonal Discounts on the purchase of certain items. So, now let us start with our menu driven programming in java Java programming code Here we have created a variable 't' To store the Choice of Laptop or Desktop.If-Else loop to check The Discount Available for that Price range on Either Laptop or Desktop and to display an Error message if wrong choice is entered. Finally, We Print the Net Amount to be Paid by using the formula(net=amt-dis). If, you have any questions related , Please Do not Hesitate to contact me and Do make sure to follow my blog. Regards, Adi075 (Author) #PEACEOUT
Comments
Post a Comment