Create a C# console application, programming homework help

Anonymous
timer Asked: Nov 19th, 2016
account_balance_wallet $10

Question Description

Create a C# console application with a menu that can do three things: 1) Take a name as an input and reverse the first and last name. For example, the input Stephen Strange as an input would output Strange Stephen. You may assume a name only has a single space, to make things easier. 2) Take a Canadian postal code as an input, and tell the user if the postal code is in the correct format. Remember that Canadian postal codes are in the format: H0H 0H0 3) Take a SIN number as an input, and validate that it is correct. Social Insurance Numbers are validated via a simple checksum process. How the checksum works: 046 454 286 < Fictions SIN 046 454 286 \ Multiply each top number 121 212 121 / by the number below it.. ----------- 086 858 276 < and get this. ^ Notice here that 8*2=16, add 1 and together and get 7. If you get a 2 digit # add the digits together. Add all of these digits together. 0+8+6+8+5+8+2+7+6=50 /\ If the SIN is valid this # will be evenly divisible by 10. This is a 'valid' SIN.

Create a C# console application with a menu that can do three things: 1) Take a name as an input and reverse the first and last name. For example, the input Stephen Strange as an input would output Strange Stephen. You may assume a name only has a single space, to make things easier. 2) Take a Canadian postal code as an input, and tell the user if the postal code is in the correct format. Remember that Canadian postal codes are in the format: H0H 0H0 3) Take a SIN number as an input, and validate that it is correct. Social Insurance Numbers are validated via a simple checksum process. How the checksum works: 046 454 286 < Fictions SIN 046 454 286 \ Multiply each top number 121 212 121 / by the number below it.. ----------086 858 276 < and get this. ^ Notice here that 8*2=16, add 1 and together and get 7. If you get a 2 digit # add the digits together. Add all of these digits together. 0+8+6+8+5+8+2+7+6=50 /\ If the SIN is valid this # will be evenly divisible by 10. This is a 'valid' SIN.

Tutor Answer

AliveJD
School: Duke University

flag Report DMCA
Review

Anonymous
Tutor went the extra mile to help me with this essay. Citations were a bit shaky but I appreciated how well he handled APA styles and how ok he was to change them even though I didnt specify. Got a B+ which is believable and acceptable.

Similar Questions
Hot Questions
Related Tags
Study Guides

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors