Prepare

In this guided project, you’ll use Visual Studio Code to develop the initial version of a C# application. Your application will use boolean expressions, selection statements, and iteration statements to implement the features of a design specification. As you develop the application, you’ll need to scope variables at the appropriate level.

Project overview

You’re working on the Contoso Pets application, an application that helps place pets in new homes. The specifications for your application are:

  • Create a C# console application.
  • Store application data in a multidimensional string array named ourAnimals.
  • The ourAnimals array includes the following “pet characteristics” for each animal:
    • Pet ID #.
    • Pet species (cat or dog).
    • Pet age (years).
    • A description of the pet’s physical condition/characteristics.
    • A description of the pet’s personality.
    • The pet’s nickname.
  • Implement a sample dataset that represents dogs and cats currently in your care.
  • Display menu options to access the main features of the application.
  • The main features enable the following tasks:
    • List the pet information for all animals in the ourAnimals array.
    • Add new animals to the ourAnimals array. The following conditions apply:
      • The pet species (dog or cat) must be entered when a new animal is added to the ourAnimals array.
      • A pet ID must be programmatically generated when a new animal is added to the ourAnimals array.
      • Some physical characteristics for a pet may be unknown until a veterinarian’s examination. For example: age, breed, and neutered/spayed status.
      • An animal’s nickname and personality may be unknown when a pet first arrives.
    • Ensure animal ages and physical descriptions are complete. This may be required after a veterinarian’s examination.

dynamics 365 finance training courses malaysia

Leave a Reply

Your email address will not be published. Required fields are marked *