Question: I'm having trouble organizing my code and want to compare my code with another source. Thank you. 4. (40 points) Write a C# program according

 I'm having trouble organizing my code and want to compare my

I'm having trouble organizing my code and want to compare my code with another source. Thank you.

4. (40 points) Write a C# program according to the following specifications (pseudocode): 1. Declare two variables named num, to hold an integer, and name, to hold a string 2. Declare another variable named Num, to hold an integer. Declare any other variables that you consider necessary. 3. Write one statement to print the following pattern: 22A. 4. Write a statement to prompt the user to enter an integer then write another statement that will read input into num. 5. Display the digits of num, on separate lines as shown below. Assume the user always enters a 3digit number, such as 123. For this input the output should be 6. Use num and appropriate arithmetic operations to create three new integers as shown below: nl = 12 77 a 2digit number using the first and the second digit of num n2 = 23 // a 2digit number using the second and the third digit of num n3 = 13 77 a 2digit number using the first and the last digit of num 7. Use num and appropriate arithmetic operations to create rNum, the reverse of num For instance, if num = 123, rNum = 321. 8. Display the new numbers with description: nl, n2, n3, rnum 9. Write a statement to prompt the user to enter a name, such as "Ann" then write another statement that will read input into name. 10. Display "Have a good day Ann!" using the string variable name. // Please write your program on the next page

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!