| | QUOTE(cse-icons @ Oct 20 2004, 08:34 PM) int i, n = 20; for (i = 0; i < n; i--) printf("-"); You have to print '-' 20 times. by adding or removing or replacing only a single character from the code. There are 3 possible solutions for the above question. Can u get them? here goes: 1. replace i with n in the for() loop 2. make it -i < n 3. in for() loop init i as 40 (for(i=40;i < 20 ... ) so there :-) |


