Question: do this in c# 1,.declares a string variable named userName, 2. prints Please, type in your user name:, 3. reads a string value from the
do this in c# 1,.declares a string variable named userName,
2. prints Please, type in your user name:,
3. reads a string value from the keyboard and assigns the value to the userName variable,
4. declares a int variable named number,
5. prints Please, enter your number:,
6. reads a int value from the keyboard and assigns the value to the number variable, 7. declares a string variable named id and initializes it with the string referenced by the userName variable, followed by the number entered by the user,
8. prints Your id is and the content of the id variable.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
