Anonymous
Write a C program to implement one dimensional data decomposition using
block decomposition.(ex: using subprograms to find sum, max,... for each
block, then find the final solution in the main program)
hehe
Number-to-English. You are required to express integers using words (as for example you do while writing
cheques). For simplicity, you are given that the integers lie between 0 and 999999. Here is an exhaustive list
of words that your program should use: zero, one, two, three, four, five, six, seven, eight, nine, ten, eleven,
twelve, thirteen, fourteen, fifteen, sixteen, seventeen, eighteen, nineteen, twenty, thirty, forty, fifty, sixty,
seventy, eighty, ninety, hundred, thousand, lakh. Don't use hundred, when you can use thousand, e.g., use
one thousand five hundred instead of fifteen hundred. As an example, for input 213425 your program should
print two lakh thirteen thousand four hundred twenty five.
Write a C program to read in an integer between 0 and 999999 and print the English equivalent as outlined
above. Do not use any function other than main().
[ Submission Filename: 〈Your roll number〉LT1P1.c
For example, if your roll number is 20CS30099, then the filename for this task will be 20CS30099LT1P1.c ]