+ 2
What is the output of this code.
<Math.h> is included Int i=sqrt(40) Cout<<; And please explain how.
4 Respuestas
+ 8
Answer is nothing because
cout<<;
prints nothing
if you wrote cout<<i;
output is:
6
because to output 6.32 you need to use
'double' instead of 'int'
Note:
In 'int' and 'cout' each letters should be in lowercase !important.
If you still didn't understand you can reply what is your confusion.
+ 6
its....error
+ 5
it would work if u add i there..... cout<<i;
+ 2
Thanks