#include<stdio.h>
#include<conio.h>
void main()
{
int z,i,max=0;
clrscr();
for(i=1;i<=5;i++) //change the digit 5 to anything
{
printf("Enter a number":);
scanf("%d",&z);
if(z>max)
max=z;
}
printf("Largest number is=%d"z);
getch();
}
The largest single digit in our numerical system is 9. Once you write 10, you have two digits.
In the decimal system, the largest digit in any place is 9.
99,999,998
874321 is the largest number made from all these digits.
99,999=3x3x41x271
999 is the largest 3-digit number.
9797 is the largest two digit prime number.
679 is the product of the largest single-digit prime number and the largest two-digit prime number.
10,000,000 is the smallest 8 digit number 99,999,999 is the largest 8 digit number
The largest 8-digit number is 9,999,999.
The largest 4 digit number is 9999.
9 and 99