- 2

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

27th Dec 2017, 3:02 PM
ÙŰ§Ű±Űł Ű§Ù„ÙˆŰ·Ù†
ÙŰ§Ű±Űł Ű§Ù„ÙˆŰ·Ù† - avatar
4 Answers
+ 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