Tuesday, 31 March 2015

Write a program that asks user to enter two values between 0 and 100 now print the values from first number to second number.

#include<stdio.h>
#include<conio.h>
void main (void

{
int num;
printf("enter number");
scanf("%d",&d);

if(a<0&&a>100);
for(i=0;i<100;i++)
{
printf("value=%d",i);
}

else
printf("not a valid value");

}

No comments:

Post a Comment