Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using C#. Create a console application that will print out your first name and last name, with correct punctuation (e.g. upper case characters where needed,

Using C#. Create a console application that will print out your first name and last name, with correct punctuation (e.g. upper case characters where needed, like the first letter of each name). To get the characters, create two arrays, the first one with all of the lower-case characters in the alphabet. The second array will have all of the upper case letters in the alphabet. If you have special characters in your name that are outside of the standard English alphabet, you can disregard this or you can add them to your arrays as well. Using your two arrays, access the correct elements to concatenate your name and output it to the console window. Feel free to use the following code to get you started:

char[] lowercaseLetters = { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z' };

Input can be taken to print the name using any of the loops.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions