Lowest price ever! Learn Generative AI for 48% less!
Get my discount- 1
What will the output of this code?
int main() { int i = 1; while(i <= 16) { textcolor(i); cout <<i; i++; } }
2 Answers
+ 4
Why you do not try to check it on Sololearn Playground?
+ 2
Hi !
Incomplet code...
Where are headers ?
'textcolor' is non-standard. 'conio.h' maybe ?
the code would like to display 16 lines with a number per line of the foreground color defined by i (but i don't use microsoft/borland librarys... 😁)