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
What are loops c?
What are header files? What are their uses?
Write a program to generate random numbers in c?
What is the use of getchar functions?
What is a double c?
Write a simple code fragment that will check if a number is positive or negative.
What is sizeof return in c?
How many types of functions are there in c?
What is the difference between arrays and pointers?
write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list
What is a void pointer? When is a void pointer used?
What is your stream meaning?
What is the purpose of main( ) in c language?
What is file in c preprocessor?
Explain what are binary trees?