Varanasi-Software-Junction / datastructures

A repository on Data Structures
MIT License
8 stars 5 forks source link

If else #9

Open champaksworldcreate opened 3 years ago

champaksworldcreate commented 3 years ago
  1. Find the max of three numbers
  2. Check for a leap year
  3. Solve a Quadratic Equation
  4. Check the type of a Triangle. Is triangle possible, Equilateral, Isosceles, Scalene and Right Angled
  5. Check for pass, fail and division given marks in 3 subjects. 40 is passing marks. 3rd division >=40 <50, >=50 <60 2nd, >=60 1st.
  6. Convert 0-9 digits to words
  7. Find the days in month given the month no and year
  8. Find the quadrant given the angle
  9. Solve the above programs using ternary operator
  10. Solve the above programs using switch