Details
CIS115 Week 2 Lab Even or Odd and Grade Checker in Python
CIS115 Week 2 Lab Overview
Title of Lab: Even or Odd and Grade Checker in Python
Summary - Part 1
Create a program that checks whether a number is even or odd.
Summary - Part 2
Create a program that checks one's letter grade.
Deliverables
• 2 source code Python files.
• A Word document containing both source code and the screen print of the program outputs.
Lab Steps
Part 1 - Even or Odd
Sample Output:
Even or Odd
Enter an integer: 20
This is an even number.
Specifications:
• Use the selection structure.
• Assume that the user will enter a valid integer
Part 2 - Pay Calculator
Make sure to use the following criteria:
• 100 - 90: A
• 89 - 80: B
• 79 - 70: C
• 69 - 60: D
• 59 and below: F
Sample Output:
Grade Checker
Enter your grade: 88
You earned a B
• Assume the user will enter valid data.
• Selection structure needs to be used.
Additional Information
Special Price | $10.00 |
---|