Zone for ultimate tech and study update
Advertisement
A program to check if it is between 7 & 9
#include<conio.h>
#include<stdio.h>
void main()
{clrscr();
int x;
printf("enter a number=");
scanf("%d",&x);
if(x>7 && x<9)
{printf("your number is between 7 and 9");}
else
{printf("not between 7 and 9");}
getch();}
No comments:
Post a Comment
Please comment bellow. Share your knowledge
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Please comment bellow. Share your knowledge