#include<stdio.h>
int main()
{ int x=1; int cot=0;//Number of prime numbers while(cot<=50){ int i; int count=1; for(i=2; i<x;i++){ if(x%i==0){ count=0; break; } } if(count==1){ cot++; printf("%d\t",x);//output Alignment of numbers if(cot%5==0){ printf("\n");//Output newline of numbers } } x++; }
return 0;
}