Math, asked by Vanshika11th, 1 year ago

Find the smallest + ve mathematical number which is spelled in an alphabetical order.

Answers

Answered by Dia095
1
The answer is FORTY....

PLZ mark it as brainliest..

hetvi51: how
Dia095: Create a string array with following strings:
ONE, TWO, THREE,... TEN
ELEVEN, TWELVE,... TWENTY
THIRTY, FORTY,... HUNDRED
THOUSAND
LAKH
CRORE
now traverse the array in this order and check for every string element, if the string is in alphabetical order or not.
Dia095: If it is, then it is the solution else move to next string.
The first string found is the solution. We have reduced the solution to this subset of all possible numbers because any other number will be a combination of these words which will be greater than the actual number.

The answer you will get will be FORTY
3.6k Views · 6 Upvotes · Answer
Similar questions