Knowledge in If else if ladder

Program to perform if else if ladder performing average of 3numbers.

If else if ladder is used to check more than 3 conditions it means multiple conditions in a single program. Here I considered m1,m2,m3,tot ,avg as variables of data type integer. First perform total then average . Finally checking the conditions by some range is to be performed.