Illegal use of Floating Point error while compiling

Am getting error as illegal use of floating point while running below program
can some one help me where i did mistake and how should i fix it.

#include<stdio.h>
#include<conio.h>
int main() {
   float x,op;
   printf("enter the value of x");
   scanf("%f",&x);
   op=(x^1/2+x^2/3+x^3/4)/(x^5/2+x^7/2);
   printf("Final Op is %fn",op);
   return 0;
}


Source: c#

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.