1 solutions

  • 0
    @ 2025-11-5 20:11:34

    C :

    #include<stdio.h>
    
    int main()
    {
    	float a,b,c;
    	a=1.43;
    	b=1.2;
    	c=a*b;
    	printf("%.3f\n",c);
    	return 0;
    }
    

    C++ :

    #include<stdio.h>
    
    int main()
    {
    	float a,b,c;
    	a=1.43;
    	b=1.2;
    	c=a*b;
    	printf("%.3f\n",c);
    	return 0;
    }
    

    Pascal :

    begin
      writeln('1.716');
    end.
    
    
    • 1

    Information

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