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.

int main() {
   float x,op;
   printf("enter the value of x");
   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.