To do this,You should if statements or switch statementYou should take the first number of input and insert it to switchstatement,then you should the second number of the input and insert it into switchstatement.