Question #4 | java program related to if else | Conditional statements related program

preview_player
Показать описание
#Hasina #CalculateDitanceCharge. #jvmExpert
java program related to if else.
Conditional statements related program.
Discuss the question related to if else, Question is:-
Question #4
An air conditioned bus charges fare from the passengers based on the distance travelled as per the tariff given below:
Distance Travelled Fare
Up to 10 km Fixed charge 80
11 km to 20 km 6/ km
21 km to 30 km 5/ km
31 km and above 4 / km
Design a program to input distance travelled by the passenger. Calculate and display the fare to be paid.
*********************************************************
This video is also usefull for Class 10th and 9th ICSE
*********************************************************

Whole java concepts:-

Syntax of if, if-else, nested if, nested if else:-

$$$$$$$$$$$$$$$$$$$$$ Unsolved Question related to if else $$$$$$$$$$$$$$$$$$$
#1 Program to print number is equal or not, if unequal then find out greater no.Also print the no is All positive All negative or Mixed no.:-

#2 A triangle is said to be an " Equable Triangle", if the area of the triangle is equal to its perimeter. Write a program to enter three sides of a triangle. Check and print whether the triangle is equable or not.

# 3 A special two digit number is such that when the sum of its digits is added to the product of its digits, the result is equal to the original two-digit number.
Example- consider the number 59
Sum of digits = 5+9= 14
Product of digits= 5*9=45
Total is= 14+45 = 59

#5 An ICSE school displays a notice on the school notice board regarding admission in class XI for choosing stream according to marks obtained in English, Math and Science in class 10 Council Examination.
Marks obtained in different subjects Stream
Eng, math and Science greater = 80% Pure science
Eng and science greater =80%, math greater =60% Bio. Science
Eng, Maths and Science greater =60% commerce

# 6 A bank announces new rates for Term Deposit Scheme for their customers and Senior Citizens s given below:-
Term Rate of Interest(General) Rate of Interest(Senior Citizen)
Up to 1 year 7.5% 8.0%
Up to 2 year 8.5% 9.0%
Up to 3 year 9.5% 10.0%
More then 3 years 10.0% 11.0%
Рекомендации по теме
Комментарии
Автор

The best video to understand slab bassed questions

vandanasaxenag
Автор

Miss please make one more video related to question#4

punichandmandal
Автор

Thank you so much ma'am... You cleared all my doubts

AnkitKumar-rqen
Автор

Mam very well explained but still in douby

dancewithme
Автор

Thanks mam, mujhe bahot ache se samjh aa gya👍🏻, itna acha tha mere teacher ne bhi nhi bataya 😂

techx
Автор

Ma'am I have some doubts how can I ask you the doubts
Your videos are amazing ma'am it cleared all my doubts but i still have some so i wanna know how can I ask you

angel_sxd_.
welcome to shbcf.ru