+ 1
what is the output of this code written in c++ ? clearly response, please
int main() { int num = 1; while (num * num < 30) { cout << num << " "; num = num + 1; } cout << endl;
1 Answer
+ 1
1 2 3 4 5.
Print all numbers starting with 1 that have square less than 30.