I am VERY new to c# and am trying to make a simple program that will calculate the area of a square, triangle, or circle. The user will enter S for square T for triangle and so on.
I am trying to figure out how I can accept input for both a capital S and lower case s to represent a square. Is there a way to accept both instances of user input. Currently I have a faulty if statement.
if (userInput = 's' || 'S')
any suggestions?
Thanks