Console.WriteLine("Penalty (y/n)?");
var num4 = Console.ReadLine();
pen = Convert.ToInt32(num4);
// and if answer is yes I want to give the var a value like 100
//and if answer is no his value will be 0
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Pranam BhatPosted Jun 5, 2021, 4:59 PM