Northcentral Technical College Introduction To Programming
10-152-310
Introduction to Programming with JavaScript NTC 10-152-310

Learning Plan 4 4.2 Assignment 3

# 4.2 Assignment 3

#### File: /Learning Plan 4/4.2assignment3.html

### Student

- Name:
- Section:
- Email:

## Part 1

1. Open this file in Firefox and Microsoft Visual Studio
2. Add your name, section, and email

### Part 1 Problem Statement

> Write a program that asks a user for two numbers. If the first number is greater than or equal to the second number then output a statement like this, "<first number> is greater than or equal to <second number>." If the first number is less than the second number then output a statement like, "<first number> is less than <second number>." Use an if/else statement for this part.

### Part 1 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:

### Part 1 Test Plan

    TEST PLAN:

    Test Case 1:
        Inputs:

        Expected Results:

    Test Case 2:
        Inputs:

        Expected Results:

    Test Case 3:
        Inputs:

        Expected Results:

- Sample Part 1 Output:

    10 is greater than or equal to 5

- OR

    2 is less than 5

### Your Part 1 Output:

## Part 2

### Part 2 Problem Statement

> Write a program that asks a user to enter a name. If the entered name is your name then output, "That's my name!". If the entered name is not your name then output, "That's not my name." Use an if/else statement for this part.

### Part 2 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:

### Part 2 Test Plan

    TEST PLAN:

    Test Case 1:
        Inputs:

        Expected Results:

    Test Case 2:
        Inputs:

        Expected Results:

- Sample Part 2 Output:

    That's my name!

- OR

    That's not my name.

### Your Part 2 Output:

### Submitting work

- Zip and submit this page 4.2 Assignment 3.