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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started