+ 4

I need a C# friend

I need a C# friend whom I could ask some questions because I am starting to learn C# and have nobody to talk to. Maybe we could add one another on skype or something.

28th Feb 2017, 3:34 PM
Elena
Elena - avatar
9 ответов
+ 3
So. I tried to do a simple (as it seems) problem, the Quadratic equation. I have a problem with getting the input from user for variables a, b and c. I have a Console.Writeline("Enter var: ") for these 3 variables and a var = Console.Read() for each of them. But when I enter the value for the first variable (which is a) in console, it displays all the Console.WriteLine and it doesn't get the values for b and c, neither it calculates the result for the discriminant, I don't know if I explained well what I struggle with, english not being my native language. Maybe I should post the code? I really hope I'll get some help. :)
28th Feb 2017, 4:50 PM
Elena
Elena - avatar
+ 3
luka , thank you. It almost works. One more question. I posted the code I written in my profile. But at the end of the program, for some reason, other than solutions, it also displays the text for the third case (discriminant <0). Could you go over the code?
28th Feb 2017, 5:50 PM
Elena
Elena - avatar
+ 3
It may help you 🔭 Learn C# in one day and learn it well 👍 by JAMIE CHAN the only book you need to start coding in c# https://www.amazon.com/Beginners-Hands-Project-Coding-Project-ebook/dp/B016Z18MLG follow the links 👇 http://www.c-sharpcorner.com 👈 http://csharp-station.com 👈
28th Feb 2017, 6:27 PM
Zubair Hanif
Zubair Hanif - avatar
0
I'm a beginner as well, looking forward to beating you in more challenges 😈
28th Feb 2017, 4:16 PM
Sterling Richard
Sterling Richard - avatar
0
hi Elena, I would love to be your c# friend, please add me on skype Nicolai Magnussenbor visit my youtube channel www.youtube.com/c/onedev and dm me there :-)
11th Apr 2017, 6:22 PM
Nicolai Magnussen
Nicolai Magnussen - avatar