I wana make a programm | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

I wana make a programm

print the prime numbers from 1 to 50

9th May 2018, 4:42 PM
Abdulla Nasri
Abdulla Nasri - avatar
1 Antwort
0
#include <iostream> using namespace std; int main(int argc, char *argv[]) { for (int i = 1; i <= 50; i++) cout << i << endl; /* you can use " " instead of endl */ }
1st Jan 2023, 10:03 AM
racastro
racastro - avatar