Introduction To Programming
10-152-310

Learning Plan 2 : Variables and Data Types

Student

  • Name:
  • Section:
  • Email:

2.1 Project - Part 1

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

Problem Statement

Write a program that will receive two numbers from a user, calculate the sum, difference, product, and quotient of the numbers. The program will display the two input numbers and the calculated results with identifying text.

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:
    Entered Numbers: 12, 10
    Sum: 22
    Difference: 2
    Product: 120
    Quotient: 1.2
  • Part 1 Output: