//To find polinomial equation 3X2 + 2X + 3
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
float a,b;
printf("Enter the value of X\n");
scanf("%f",&a);
b=3*a*a+2*a+3;
printf("Result=%f",b);
getch();
}
-----------------------------------------------------------------
Output
Enter the value of X
2
Result=19
===============================================
No comments:
Post a Comment