I'm taking a C# class and I'm stuck
It's in Microsoft visual studio 2017
In the console app.net framework
How do I make it use a variable for an equation and display the answer
So like this
String HW
HW= 137
So how do I make the console app display the answer to 10.50 * HW?
use google
>>62449752
I've tried but it won't tell me what to write for the code
You can't multiply a string, silly.
>>62449741
What faggot would take a class in c#?
>>62449741
Go on youtube and watch a tutorial of C# as if youre struggling with this you need to learn the basics
>>62449741
use integer or decimal not string
>>62450048
What would I write for integer or decimal?
>>62449765
calculations best use decimal and not string, string doesn't do calculations.
>>62449923
It's required for my college apparently
>>62450074
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/decimal
>>62450074
int...
If you can't google you shouldn't learn programming.
>>62450425
Also remember what integers are. Use decimal in your case.
>>62449741
Honest answer: Drop out
You should make a test if you are retarded.
>>62449741
Wow