Introduction To Programming
10-152-310

Learning Plan 2 : Variables and Data Types

Student

  • Name:
  • Section:
  • Email:

2.1 Project - Part 2

  • Open this file in your browser and Microsoft Visual Studio
  • Add your name, section, and email

Problem Statement

Write a program that gets first and last names of a dog owner and the name of their dog. The program will generate an information statement for the dog owner using the following pattern and then displays the string on the page.

  • First Name
  • a space
  • Last Name
  • an apostrophe
  • the letter s
  • a space
  • this string of text: dog is named
  • a comma
  • a double quote mark
  • the dog's name
  • a double quote mark
  • a period

The Program Planning Lists

  • In the following pre tag, write the three planning lists based on the verbs and nouns you see in the problem statement.
    The List of Input Variables:
    
    The List of Output Variables:
    
    The Process Checklist:
        

JavaScript Output

Write the JavaScript code based on everything you've done. Your code must follow the course coding standards.

  • Sample Output:
    Joe Smith's dog is named, "Fido".
  • Part 2 Output: