What is wrong with this code ? | Sololearn: Learn to code for FREE!

+1

What is wrong with this code ?

Please can someone tell me Why is this code giving errors https://code.sololearn.com/c4L6rr7Ld8Ic/?ref=app

9/5/2020 12:53:36 PM

Joseph Oritseweyinmi

13 Answers

New Answer

0

2x-3=1 2x=4 Then you need only a and b And like ax=b, then your answer is b/a ...

+3

Then you only need this part: int a = Convert.ToInt32(2); int b = Convert.ToInt32(-3); int c = Convert.ToInt32(1); { Console.WriteLine((c-b)/a); }

+1

Change =! to != Thats all

+1

It's also not giving me the correct answer

+1

Joseph Oritseweyinmi you also have mistakes in your algorithm

+1

Tell more about the task, pls

+1

Which equality do you want to solve? ax+by+c=0?

0

Line 17 : operator ! =, not =!

0

I want to solve a linear equation

0

Cool. Then what is a, b, c? How many variables? Give an example

0

Linear equation

0

Linear equations can be different! Give an example pls, if you cannot describe

0