✅ 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?
7 Replies
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)
ahhhhhhh
so its not mathing, just assigning B
well,
25 - 10
IS subtraction, it's just also assigning that value to B🙂 great! I should probably finish the asignment - im just trying to type in the code to gain understanding as I go
Thanks buddy!
No problem, $close if you don't need anything else, you can always open another thread
Use the /close command to mark a forum thread as answered
yes