// program to get value of f(x)=x2+2x+3
#include<stdio.h>
#include<conio.h>
#include<math.h>
#include<math.h>
void main()
{
float x,f_x;
printf(“enter x \n”);
scanf(“%f”,&x);
f_x=(pow(x,2)+2*x+3); //pow() function exists inside math.h
printf(“the result is=%f\n”,f_x);
getch();}