+ 4

[Solved] I am new in coding and can't find my problem 🙂

C programming problem https://code.sololearn.com/c2fzcB2z4GC6/?ref=app

20th Jul 2022, 7:41 PM
Ahanaf Tanvir Shovon
Ahanaf Tanvir Shovon - avatar
7 Antworten
+ 3
Yes in line 26 and 31 not writed ;
20th Jul 2022, 9:35 PM
aliz6398suisiTerminatorEmpireBot
aliz6398suisiTerminatorEmpireBot - avatar
+ 1
Line 26 and 31 missing semicolon ;
20th Jul 2022, 9:34 PM
Chris Coder
Chris Coder - avatar
+ 1
You have missed the semicolons
21st Jul 2022, 7:06 PM
Himani Perera
Himani Perera - avatar
0
You not writed ; on 2 line This code have not bugs::: #include <stdio.h> void Y(); void N(); int main() { char x; printf("input"); scanf("%c", &x); if(x == 'Y'){ Y(); } else { N(); } return 0; } void Y() { printf("paymet successfull"); } void N() { printf("sorry, something went wrong"); }
20th Jul 2022, 7:46 PM
aliz6398suisiTerminatorEmpireBot
aliz6398suisiTerminatorEmpireBot - avatar
0
<‌?php echo "Error "; echo "in Line = "; $errLine0 = 26; $errLine1 = 31; $totalErr = 2; echo $errLine1 . " and line " . $errLine2 . " Total Errors = " . $totalErr; die("This Error Fixed"); ?‌>
21st Jul 2022, 8:12 PM
aliz6398suisiTerminatorEmpireBot
aliz6398suisiTerminatorEmpireBot - avatar