Is it possible to get floating vale of int? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

Is it possible to get floating vale of int?

Suppose I have enter two int vale to a function that returns sum of that number but it returns int value at final so I want to print it as 20.00 like float so is it possible

8th Feb 2020, 2:28 AM
Suman Shah
Suman Shah - avatar
1 ответ
+ 2
How I can replace prinft with cout
8th Feb 2020, 8:54 AM
Suman Shah
Suman Shah - avatar