# | User | Rating |
---|---|---|
1 | jiangly | 3977 |
2 | tourist | 3815 |
3 | jqdai0815 | 3682 |
4 | ksun48 | 3614 |
5 | orzdevinwang | 3526 |
6 | ecnerwala | 3514 |
7 | Benq | 3483 |
8 | hos.lyric | 3381 |
9 | gamegame | 3374 |
10 | heuristica | 3358 |
# | User | Contrib. |
---|---|---|
1 | cry | 169 |
2 | -is-this-fft- | 162 |
3 | Um_nik | 161 |
4 | atcoder_official | 159 |
5 | djm03178 | 157 |
5 | Dominater069 | 157 |
7 | adamant | 154 |
8 | luogu_official | 152 |
8 | awoo | 152 |
10 | TheScrasse | 148 |
i need to increment character by one character but the second scanf statement is not taking input why?????
int main() { char char1,char2,char3; int y,Y,n,N; printf("Hi! I'm a clever computer program that knows the alphabet.\n"); printf("Please enter a letter:\n"); scanf("%c",&char1); printf("The next letter is:%c\n",(char1+1)); printf("Do you want to enter another letter (y = yes)?\n"); scanf("%c",&char2); while(char2==y) { printf("Please enter a letter"); scanf("%c",&char3); printf("The next letter is:%c\n",(char3+1)); continue; } printf("Goodbye!"); return 0; }
I tried this question but it shows WA please help (in c++) link:- https://practice.geeksforgeeks.org/problems/consonants-and-vowels-check/1/?track=module-2-arrays-and-strings&batchId=113
Anyone please suggest me the project that i should do (not that much tough, i am a begineer) (for CS branch)
Should i study object oriented programming and is it used in CP ? Where ? Also, what are its uses ?
how to count all distinct elements in an array ???
Sometimes the website of codeforces doesn't open but why?
Can someone please suggest me some other coding contest held regularly other than codeforces and codechef. As i want to practice more and more in the live contest and improve my coding skills.
Name |
---|