Programming for business applications - (New to programming. Just learned arrays, for/if/ifelse/else, and tryParse method. Please put...

90.2K

Verified Solution

Question

Programming

Programming for business applications -

(New to programming. Just learned arrays, for/if/ifelse/else,and tryParse method. Please put comments so I am able to followalong with ease while doing this project.) C# is thelanguage

Visual Studio 2019. Create a C# Console app (using .NETFramework)

Create a credit card console app. Each card has a Name, FICAscore, and Credit Balance.

  • Prompt the user for the number of cards in this group
  • Declare/define 3 arrays (Names, FICA Scores, Balances) usingthe number entered by the user from 1 above
  • Prompt the user for the credit card user's Name, FICA score,and Credit Balance
    • Read in the input
    • Use TryParse when appropriate
    • If the input is invalid, loop until you get valid input
    • Names cannot be blank
    • FICA scores must be a value from 300 to 850 inclusive
    • Credit balance can be any valid decimal number ( positive ornegative are okay)
    • Once the user's information is valid, put the data into thearrays
  • Display all the information to the console screen as shownbelow

  NAMES                     FICA         BALANCE

Ashley Bentley   700               $200.00

Berk Fields   850          $16,250.00

(the FICA scores and Balances are right aligned and the namesare left aligned.)

Answer & Explanation Solved by verified expert
3.9 Ratings (458 Votes)
CodeType1using Systemusing SystemCollectionsGenericusing SystemLinqusing SystemTextstatic class Mainpublic static void Mainstring    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students