- 1
using namespace std; int main() { int x=5.0,negsum; int countneg=0; if(x<0.0) { negsum=negsum+x; countneg=countneg+1; } ret
this program has no output what z the mistake anyone can tell me.. frndzz
4 Respostas
+ 3
-You are missing #include<iostream>
-You are declaring a int with a float decimal format
-You are declaring a useless conditional
-return 0
All that is wrong, but you are clearily trolling
0
the lst one is return()
0
how about posting your code in the message part, not the title?
and it's has no output because you are not outputting anything.
0
I get it ..
# thnkss
I have done blunder mistakes
yeahh...