- 2

"Write a program to read two float numbers and try to sort them in ascending order"

27th Dec 2017, 3:02 PM
فارس الوطن
فارس الوطن - avatar
3 Respuestas
+ 3
Could you please correct your question a bit? Anyway, I will give you a way to do it. First input 2 numbers using cin statement. Then test them using if in this way: if(a>b) cout<<b; else cout<<a; And you're done!
27th Dec 2017, 3:09 PM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar
0
read two float numbers,more details
27th Dec 2017, 3:08 PM
᠌᠌Code X
᠌᠌Code X - avatar
0
ممكن حل هذا سؤال "Write a program to read two float numbers and try to sort them in ascending order"
27th Dec 2017, 3:46 PM
فارس الوطن
فارس الوطن - avatar