/numbers

Primary LanguageShell

Identifying Information:

  1. Name: Jess Bermudes
  2. Student ID: 0767448
  3. Email: bermu103@mail.chapman.edu
  4. Class: CPSC-298-03
  5. Assignment: numbers

Application Purpose

A bash script named “numbers.sh” that will

  • prompt a user to type a positive integer
  • print all the numbers from 1 up to and including that number
  • print the word "odd" or "even" on the same line as each number

Files

  1. numbers.sh
  2. numbers-input

Known Errors

References

Instructions

To run the script with input from the included numbers-input file: ./numbers.sh < numbers-input