Originally Posted by VanishingNerd
Umm why this??
if(ch == 'a' || ch == 'b' || ch == 'c' || ch == 'd' || ch == 'e' || ch == 'f' || ch == 'g' || ch == 'h' || ch == 'i' || ch == 'j' || ch == 'k' || ch == 'l' || ch == 'm' || ch == 'n' || ch == 'o' || ch == 'p' || ch == 'q' || ch == 'r' || ch == 's' || ch == 't' || ch == 'u' || ch == 'v' || ch == 'w' || ch == 'x' || ch == 'y' || ch == 'z')
why not ch > 96 && ch <123 ??
|

DAnM !!!! y didn't it get into my mind, it took me a long time 2 write this.!!! thanx!!!!
Originally Posted by H@cKer
as he is also learning every one has its own way of writing a program.
|
+1
thats y i've put this tread so ppl can learn from seeing other prgs & also ppl can help existing 1's!!!
Originally Posted by booo
@mahvis: bad bad idea... I agree with keane on this. I have seen many people posting in forums to get their assignment answers. I dont think I would help such people.
btw, can you write the same program that you wrote above without using the if condition? |
there r similar threads in other forum also. we can all post already made prgs & ask for help in improving existing 1's but doing other ppls assignment won't be done!!!
i think i can write without if hopefully!!! i did this prg for my skool so also posted it here.
Originally Posted by Yamaraj
Umm why this??
Why not (ch >= 'a' && ch <= 'z')??
You're familiar with the hazards of using magic numbers and non-portable character sets, aren't you? (Hint: ASCII and EBCDIC)
|
i'm confused about this part. will it work????
Originally Posted by cool1
any 1 knows program floyd's triangle using c#
for this
1
|
no projects will be entertained here!!!! if u complete this prg on ur own then u can post it here or if u want a bit help u can ask for help!!!