1 solutions

  • 0
    @ 2025-11-5 17:30:42

    Pascal :

     var n:char;
     begin
     readln(n);
    if n='a' then writeln('1') else
      if n='b' then writeln('2')
        else if n='c' then writeln('3') else
         if n='d' then writeln('4') else
          writeln('5');
     end.
    
    
    • 1

    Information

    ID
    18502
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By