Number Is A Single Digit Or Multi Digit Positive Number
/* Program To Display Whether The Given Number Is A Single Digit Or Multi Digit Positive Number */ #include
#include
void main() { int n; clrscr(); printf("\nEnter a number\n\n"); scanf("%d",&n); if(n>=0) if(n<10) printf("\n%d is a single digit positive number"); else printf("\n%d is a multi digit positive number"); getch(); }
Please send comments to
vgdarur.javafive@blogger.com
Copyright © 2008 - iForeRunner.com
http://www.iforerunner.com/