- 1
I reaaally need some help
I have a homework in C programing language It says: Write a program which enter a number like âaâ and prints a^3/(a^2+a+1) https://www.sololearn.com/discuss/2069412/?ref=app
3 Answers
+ 3
#include<stdio.h>
int main()
{
int a;
float b;
printf("Enter a number:");
scanf("%d",&a);
c=(a*a*a)/((a*a)+a+1);
printf("Result:%d",c);
return 0;
}
+ 3
You are welcome....and if you are satisfied with my answer, please do upvote it....it will let me know whether I was correct or notđđ
+ 1
thank uâ¤ď¸â¤ď¸