English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

7 answers

I am not sure y you need this. I will post the sample code in C tonight. I hope this will help.


PS: It will take time for me to search this Q again so I am pulling this to my answers area. Will be easy then to find no!

2007-12-13 02:15:36 · answer #1 · answered by Anonymous · 0 0

I had problems in making it when I was in first year.

int numer;
getche==number;
if (number ==1); printf("one");
if(number==100) printf("one hundred");
like that u can make it, but this approach will be very lenghty & bogus.

2007-12-11 22:30:09 · answer #2 · answered by Anonymous · 0 0

just use switch satetment and print the corresponding number for the value

2007-12-11 22:18:37 · answer #3 · answered by Ashish 4 · 0 0

Shalom, this could desire to be an consumer-friendly application to place in writing, in any language. What section are you having problems with? right this is your application, in trouble-free. It demands one FOR LOOP and one IF assertion: FOR x = a million TO one hundred .....IF x MOD 3 = 0 AND x MOD 5 = 0 THEN ..........PRINT "FitBit, "; .....ELSEIF x MOD 3 = 0 THEN ..........PRINT "in fantastic condition, "; .....ELSEIF x MOD 5 = 0 THEN ..........PRINT "Bit, "; .....ELSE ..........PRINT TRIM$(STR$(x));", "; .....end IF next x forget approximately on the subject of the numerous classes. There are only there to indent the traces and make the code greater readable, when you consider that stupid Yahoo straight away left justifies each and every thing. I extra, the commas to the print assertion to make the appropriate output a sprint greater readable. application Output: a million, 2, in fantastic condition, 4, Bit, in fantastic condition, 7, 8, in fantastic condition, Bit, 11, in fantastic condition, 13, 14, FitBit, sixteen, 17, in fantastic condition, 19, Bit, in fantastic condition, 22, 23, in fantastic condition, Bit, 26, in fantastic condition, 28, 29, FitBit, 31, 32, in fantastic condition, 34, Bit, in fantastic condition, 37, 38, in fantastic condition, Bit, 40-one, in fantastic condition, 40 3, 40 4, FitBit, 40 six, 40 seven, in fantastic condition, 40 9, Bit, in fantastic condition, fifty two, fifty 3, in fantastic condition, Bit, fifty six, in fantastic condition, fifty 8, fifty 9, FitBit, 61, sixty two, in fantastic condition, sixty 4, Bit, in fantastic condition, sixty seven, sixty 8, in fantastic condition, Bit, seventy one, in fantastic condition, seventy 3, seventy 4, FitBit, seventy six, seventy seven, in fantastic condition, seventy 9, Bit, in fantastic condition, 80 two, 80 3, in fantastic condition, Bit, 86, in fantastic condition, 88, 89, FitBit, ninety one, 92, in fantastic condition, ninety 4, Bit, in fantastic condition, ninety seven, ninety 8, in fantastic condition, Bit,

2016-11-26 00:18:47 · answer #4 · answered by ? 4 · 0 0

you better refer the book ANSI C

2007-12-11 22:39:48 · answer #5 · answered by Manoj 1 · 0 0

No thanks,
Do your own homework !

2007-12-11 22:06:34 · answer #6 · answered by stu_the_kilted_scot 7 · 0 0

do you want it in c, c++, vb, java, .... and on which OS platform?

2007-12-11 22:15:52 · answer #7 · answered by an 4 · 0 0

fedest.com, questions and answers