jeudi 16 avril 2020

Write a program in C# that calls on a method when a user inserts a certain word [closed]

I can't seem to figure out how to do this using an if statement, I have been making a test-type program and would like to know how to make an if statement start after a user inputs a certain word.

here is what I have thus far

if (userinput? zebra){Console.WriteLine("I Love Zebras);}

Aucun commentaire:

Enregistrer un commentaire