1 solutions

  • 0
    @ 2025-11-5 15:31:51

    C++ :

    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
            float a,b,c,s=0;
            a=97;b=98;c=83;
            s=a+b+c;
            cout<<s<<endl;
            cout<<fixed<<setprecision(1)<<s/3;
    }
    

    Pascal :

    begin
      writeln(97+98+83);
      writeln((97+98+83)/3:0:1);
      
      
    end.
    
    • 1

    Information

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