Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  Dú
Language: C/C++
Code:
#include <stdio.h>
#include <conio.h>

int main()
{
     int a,b,c;
     float d
     printf ("zadej postupne 3 cela cisla:n");
     scanf ("%d",&a);
     scanf ("%d",&b);
     scanf ("%d",&c);
     d = (float)((3*a)+b-(2*c))/(2*c);
     printf ("nVysledek je: %f",d);     
     getchar();
     return 0;
}
          
Comments: