+ 1
Write a program to print prime numbers blw 1-100
4 Respuestas
+ 5
for(i=1;i<=100;i++){
printf("%d\t",i);
}
edit: I guess thread is edit anyway here is the code
https://code.sololearn.com/c6U0so0o4MRh/?ref=app
+ 3
I'm making a code
0
Dark Angel the isprime() function could use optimization. you only need to check up to the square root of the number, not the number itself.