Day 3 : Questions list
Simple if, if-else, nested if-else and else-if ladder Take two int values from user and print greatest among them using if/else and ternary operator. Take values of length and breadth of a rectangle from user and check if it is square or not. A shop will give discount of 10% if the cost of purchased…