Facebook
From Lousy Marten, 2 Years ago, written in Plain Text.
This paste is a reply to Re: Re: Re: Untitled from Bistre Stork - go back
Embed
Viewing differences between Re: Re: Re: Untitled and Re: Re: Re: Re: Untitled
#include h>
#include 
h>

int main()
{
    double x = 0.0 , y = 0.0 , z = 0.0;
    printf("x = ");
    scanf("%lf", &x);

    printf("y = ");
    scanf("%lf", &y);


    printf("z = ");
    scanf("%lf", &z);

    double 
int a = 0 , 0, = 0, c = 0;
    printf("Enter three integer numbers to find the maximum value\n");
    scanf("%d %d %d",&a,&b,&c);
    printf("Maximum value: %d", ((a>b && a>c) ? 
= x + 4 * y + pow(z , 3);
    
: (b>a && b>c) ? = (x + sqrt(y)) * (pow(z , 4) - abs(z) + 46.3);

    printf("a) %f \n", a);
    printf("b) %f \n", b);

: c));

    return 0;
}