New course! Every coder should learn Generative AI!
Try a free lesson0
what if I want others or the user to input the value of variables,what code I must use?
int myage /* the user will input his or her age
1 Answer
+ 2
int myage = Console.ReadLine()