an issue with my method

I got help earlier on how to declare a method from my class to Program.cs and i decided to make the code a little bigger and it gives me an error now
No description
No description
12 Replies
Jimmacle
Jimmacle10mo ago
what is the error?
AlexTheMasterBG
AlexTheMasterBG10mo ago
No description
Jimmacle
Jimmacle10mo ago
the order that you pass arguments to a method matters
AlexTheMasterBG
AlexTheMasterBG10mo ago
alright thats fixed now thare is also an issue with my ifs
Jimmacle
Jimmacle10mo ago
what is the issue?
AlexTheMasterBG
AlexTheMasterBG10mo ago
im trying to make it so for an example with the range of 2 to 2.99 gives the same answer so 2.1 2.2 2.3 ect. but instead it goes to the last else where its invalid number
Jimmacle
Jimmacle10mo ago
what does == mean?
AlexTheMasterBG
AlexTheMasterBG10mo ago
it has to either be 2 or 2.99 to give the reply from the first iff thats its basically eaqual to that number
Jimmacle
Jimmacle10mo ago
no it means that it's literally exactly equal to that number
AlexTheMasterBG
AlexTheMasterBG10mo ago
thats what i said so i have to change it to => ?
Jimmacle
Jimmacle10mo ago
try and see
AlexTheMasterBG
AlexTheMasterBG10mo ago
alright i fixed it thanks
Want results from more Discord servers?
Add your server