✅ input / output confusion

Sorry if this has been asked before - im a newbie, and studying and learning by doing. learning how to subtract right now and just trying to figure out if when i run the c# code through a compiler, should the output be showing me the solution to the math problem?
No description
7 Replies
SinFluxx
SinFluxx11mo ago
Currently your two lines within Main are declaring B, then assigning a value to B (you can also do that all on one line). You'd have to tell your program to output, e.g. Console.WriteLine(whatever you want to output goes here)
Definitely not Aaron Burr
ahhhhhhh so its not mathing, just assigning B
SinFluxx
SinFluxx11mo ago
well, 25 - 10 IS subtraction, it's just also assigning that value to B
Definitely not Aaron Burr
🙂 great! I should probably finish the asignment - im just trying to type in the code to gain understanding as I go Thanks buddy!
SinFluxx
SinFluxx11mo ago
No problem, $close if you don't need anything else, you can always open another thread
MODiX
MODiX11mo ago
Use the /close command to mark a forum thread as answered

Did you find this page helpful?