input x and find the value of expression 3x²-8x+4 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

input x and find the value of expression 3x²-8x+4

15th Jan 2021, 12:25 PM
Aman Prasad
Aman Prasad - avatar
8 Answers
+ 2
This is not how you frame a question .What you are doing is telling us to do your homework .Anyway what you want is quite easy ,search for maths function used in c for power . Here is a search I did for you :) https://www.programiz.com/c-programming/library-function/math.h/pow
15th Jan 2021, 12:28 PM
Abhay
Abhay - avatar
+ 1
What's your problem bro ,tell that one
15th Jan 2021, 12:26 PM
Giriraj Yalpalwar
Giriraj Yalpalwar - avatar
+ 1
Assign that expression to another variable and print that variable.
15th Jan 2021, 12:27 PM
Giriraj Yalpalwar
Giriraj Yalpalwar - avatar
0
how to calculate that expression
15th Jan 2021, 12:26 PM
Aman Prasad
Aman Prasad - avatar
0
iam getting 0 output
15th Jan 2021, 12:27 PM
Aman Prasad
Aman Prasad - avatar
0
sorry bro i forgot to insert my wrong code there
15th Jan 2021, 12:31 PM
Aman Prasad
Aman Prasad - avatar
0
did solo learn support math.h header file
15th Jan 2021, 12:31 PM
Aman Prasad
Aman Prasad - avatar
0
Aman Prasad yes it supports that
15th Jan 2021, 12:46 PM
Atul [Inactive]