How abedmallahsc-ui/gpa-prediction works
This is a tiny command-line GPA/credit-hours script. The user enters a course count, credit hours, and marks; the script totals credit hours, maps the final entered mark to a letter-grade/GPA label, and prints both results. The mark loop overwrites the initial mark and returns only one grade, rather than computing an average. The graph reflects the shown code; there is no README or evidence of additional capabilities.
Main entry points: week2.py GPA entry
Components 5
Other components
- User
- GPA entry
week2.py - Credit total
week2.py - Grade lookup
week2.py - Printed results
week2.py
Connections 5
- User → GPA entry: enters values
week2.py - GPA entry → Credit total: calls
week2.py - GPA entry → Grade lookup: calls
week2.py - GPA entry → Printed results: prints
week2.py - Printed results → User: displays results
week2.py