1 solutions

  • 0
    @ 2025-11-5 18:47:01

    C :

    #include <stdio.h>
    int main()
    {
     float F,c;
     scanf("%f",&F);
     c=5*(F-32)/9;
     printf("c=%.2f\n",c);
    
    }
    

    C++ :

    #include <bits/stdc++.h>
    using namespace std;
    float n;
    int main()
    {
        cin>>n;
        printf("c=%.2f",5*(n-32)/9);
        return 0;
    }
    

    Pascal :

    var n:real;
    begin
      readln(n);
      write('c=',5*(n-32)/9:0:2);
    end.
    
    • 1

    Information

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