+ 3

can you find the error

#include <iostream> using namespace std; { int a=10; do{ cout<<a<<endl; a++; }while(a<99); }

22nd May 2020, 2:51 PM
rocky hulk
rocky hulk - avatar
5 odpowiedzi
+ 3
Kiibo Ghayal why are you insisting a coder to save his code in the code playground and link it here? Didn't know that he is making his decision right? He was giving his statement directly to the point.
22nd May 2020, 3:18 PM
James Clark I. Vinarao
James Clark I. Vinarao - avatar
+ 2
Yes I can see the error , Dr Banner Bruce There is no main() in ur program
22nd May 2020, 3:01 PM
Subash
Subash - avatar
+ 1
roger that ur correct
23rd May 2020, 4:31 AM
rocky hulk
rocky hulk - avatar
+ 1
main() and return 0 are not declared.
24th May 2020, 4:23 AM
Jatin Garg
Jatin Garg - avatar
+ 1
Compiler is also available in solo u can use and compile it .
24th May 2020, 11:52 AM
A S Raghuvanshi
A S Raghuvanshi - avatar