what is the dev c++ solution, that has an array max of 40 elements..the input should be from 0 to 9 only....and output the number according to its place value,, it shoud have a comma for each of the proper place value, the input should be outputed from up to down,,,,
here is the output:
Enter size: 4
4
0
9
6
Result: 4,096 (it should contain the comma (","),if it is greater than hundreds that pertains to its proper place value)
another example:
Enter size: 3
1
2
3
result: 123
another ex. hehehe:
Enter size:7
1
2
3
4
5
6
7
result: 1,234,567
2007-01-21
18:31:48
·
3 answers
·
asked by
Edrew c
2
in
Programming & Design