+ 1

How to take Input a quadratic equation c# ?

I want to take Input like ( ax^2 + bx + c ) in c# console application.

19th Sep 2020, 4:44 PM
Mohammad Saeed
Mohammad Saeed - avatar
3 Antworten
+ 2
just input a, b, c. it describes completely.
19th Sep 2020, 5:31 PM
Oma Falk
Oma Falk - avatar
+ 1
Use Console.ReadLine Console.ReadLine returns a string when you are working with numbers you have to convert them. If you have 3 numbers use Console.ReadLine 3 times
19th Sep 2020, 6:14 PM
sneeze
sneeze - avatar
+ 1
🤔🤔 Please use this article, I hope it solves your problem https://www.codeproject.com/Articles/23061/MathParser-Math-Formula-Parser
22nd Sep 2020, 11:34 AM
hossein B
hossein B - avatar