If else If

 If Else If Practical:

WAP to accept student name, mathematics marks and check the grade.




WAP to accept customer's name and total purchase amount, depending upon the purchase amount give discount ,calculate and display amount to be paid.


WAP to accept person name ,number of years of investment and accordingly  calculate and display the accumulated amount 


WAP to accept customer's name ,ticket amount and accordingly calculate the discount amount , amount to be paid.



WAP to accept the name, age and gender. if the age is more than 65  and gender is female display message 'wrong category' else calculate the income tax.



WAP to accept name ,roll-on ,marks of physics ,chemistry ,biology. calculate the science marks and give the grade.




No comments:

Post a Comment