+ 4
[Solved] I am new in coding and can't find my problem 🙂
C programming problem https://code.sololearn.com/c2fzcB2z4GC6/?ref=app
7 Réponses
+ 3
Yes in line 26 and 31 not writed ;
+ 1
Line 26 and 31 missing  semicolon
;
+ 1
You have missed the semicolons
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");
 }
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");
?>







