samedi 3 septembre 2016

maximum of 3 numbers in c lang [on hold]

I want to give 3 numbers which will give output something like this: It could be array or direct numbers:

Input: 2  3  6
Output: 6 > 3 > 2

Input: 4  1  8
Output: 8 > 4 > 1

Input: 1  1  1
Output: 1 = 1 = 1

Input: 1  1  5
Output: 5 > 1 = 1

Input: 5  5  3
Output: 5 = 5 > 3

Aucun commentaire:

Enregistrer un commentaire