Hey guys, I'm fairly new to C++ and programming, one of my task is to print the first 100 prime numbers, with 10 of them per line with size 4. I got on really well with the finding of the prime numbers but how do you print 10 per line and change the size? Many thanks, here's what I got so far:
About size: you cannot change size of your text in terminal window. But you could use OS specific API to change font size of the terminal. NOTE: it will change size of ALL text. You cannot have two words of different font size on single terminal window simultaneously.
Also I slightly optimized your code: