a machine administers medication dosage based on weight. write an if-elseif-else statement that assigns the appropriate dosageamount given userweight. weight (kg) dosage (units) --------------------------------------------------------- less than 50 10 50 - 140 20 greater than 140 30 ex: if userweight is 65, then dosageamount is assigned with 20.