0
C++ program to pass 4 arguments of float type to a function,compare the numbers and find out the larger value without logical op
Without using any logical operator
3 Antworten
+ 2
Hi! we cannot help you in any way, since you have not attached the problem solution code and we do not see what the problem is
+ 2
A little note on floating point value comparison. Due to precision (accuracy) issue, comparison of floating point values should not be considered fully reliable.
With `float` (single precision floating point type) in mind, the precision accuracy issue *may* even become worse.
* Looking forward ...
https://rules.sonarsource.com/c/RSPEC-1244
+ 1
Yousafse A your attempt is needed...