#include <stdio.h>
#include <ctype.h>
#include <string.h>
int main() {
float x=0;
float y=0;
float z;
printf("Enter x: ");
scanf("%f",&x);
printf("Enter y: ");
scanf("%f",&y);
x=x+x*x;
y=1+y;
z=x-y;
printf("z = %.2f\n\n",z);
getchar();
getchar();
return 0;
}
Comments
Leave a comment