I have to make an algorithm that receives five number and print them in ascending order, anyone knows how to do it?

Réponses (1)

Why do you have to do this? Homework? I'm going to assume so, and for that reason I'm just going to give you the hint to look up sort() and fprintf() in the help. It should be really trivial now that you know to use those functions.

Catégories

En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange

Question posée :

N/A
le 10 Juin 2015

Commenté :

N/A
le 10 Juin 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by