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

Learning Plan 4 4.2 Lab 1

# 4.2 Lab 1

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

### Student

- Name:
- Section:
- Email:

### Lab Steps

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

### Problem Statement

> Write a program that asks a user to enter a number greater than 10. If the number is not greater than 10 then write a comment to the page that says they did not enter a number greater than 10. In either case output the number to the page.

### The Program Planning Lists

- In this case,the three planning lists based on the verbs and nouns you see in the problem statement have already been done.

    The List of Input Variables:
        enteredNumber

    The List of Output Variables:
        errorMessage  (note: this may or may not display every time)
        enteredNumber

    The Process Checklist:
        Get a number from user
        Display error msg if number is not greater than ten
        Display the number

### Example Output

    Entered Number: 18

- OR

    Entered Number not greater than 10!
    Entered Number: 10

### Your Output:

### 4.2 Assignment 1

- Here is the exercise that goes with this lab.
  - 4.2 Assignment 1