Here's some pseudocode that I'd like you to translate into a working program: you have been asked by the athletic director of this school to write a program where the user is asked to enter the first...


Here's some pseudocode that I'd like you to translate into a working program:



  • you have been asked by the athletic director of this school to write a program where the user is asked to enter the first names of the five starting players on the basketball team.

  • declare an integer constant named PLAYERS of length five;

  • declare an array called names, and length PLAYERS to store the five names

  • use a for loop with an integer counter named i to:

    • ask the user to enter the player's name

    • assign the input to the name array


  • after entering the last name, you program will display all five names

    • in a separate sentence on a separate line for each name

    • for example:  "Player 1's name is .

    •                        "Player 2's name is .

    •                         etc.



  • use Visual Studio (or an equivalent compiler) to write your program

  • save it with the name warm up1.cpp

  • submit your file here by next class



Jun 03, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here