write a Program to dispaly upto 100 prime numbers(without
using Arrays,Pointer)
Answer Posted / mnagal bhaldare
#include<stdio.h>
#include<conio.h>
int i;
i=1;
for(i=1;i<=100;i++)
{
if(i%2==0)
printf("The prime numbers are%d",i);
else
printf("These are not a prime numbers %d",i);
}
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
In C, What is the #line used for?
write a program in c language to print your bio-data on the screen by using functions.
C language questions for civil engineering
Give the rules for variable declaration?
Combinations of fibanocci prime series
What are the advantages of c preprocessor?
What are called c variables?
How can I ensure that integer arithmetic doesnt overflow?
How can you check to see whether a symbol is defined?
Can you return null in c?
How can you increase the size of a dynamically allocated array?
Write a program for finding factorial of a number.
I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.
Is there a way to jump out of a function or functions?
Can we assign integer value to char in c?