1.Make and run a program that will output all the prime numbers from 1-100. (FN do prime)
2.make and run a program that will allow the user to input 10 numbers and display the total number of positive and negative numbers entered.
3. write a program that reads numbers until number is less than or equal to 100.
can you make that program using do while functions ?? i've already did the third problem though.
#include<stdio.h>
#include<conio.h>
main()
{
int a=0;
do
{
printf("%d ",a);
a=a+1;
}
while(a<101);
getch();
}