#include <iostream> using namespace std; int main() { num = 1; while ( num < 10) { cout<< num << " "; } // your code goes here return 0; }
Standard input is empty
prog.cpp: In function 'int main()': prog.cpp:5:2: error: 'num' was not declared in this scope num = 1; ^
Standard output is empty