Código
fuente |
|
#include
<math.h>
#include
<stdio.h>
int
main()
{
float
r = 1.5;
int
x = 9,
y, z;
r = sqrt( x ) + pow( x / ( int
) r, 2
);
printf( "r = %.2f",
r);
y = r;
printf( "\ny = %d",
y );
x = y++;
printf( "\nx = %d",
x );
z = ++y;
printf( "\nz = %d",
z );
return
0;
} |
|
|