If M is lesser than N, display all numbers from M up to N. If M is greater than N, display all numbers from M down to N?
Write a program that will ask the user two numbers M and N. If M is lesser than N, display all numbers from M up to N. If M is greater than N, display all numbers from M down to N.
Aucun commentaire:
Enregistrer un commentaire