{"id":28286066,"url":"https://github.com/mrdevanony/gradeaveragecalculator","last_synced_at":"2025-10-12T16:06:25.255Z","repository":{"id":287549743,"uuid":"965088581","full_name":"MrDevAnony/GradeAverageCalculator","owner":"MrDevAnony","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-12T11:45:26.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-18T00:39:27.292Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MrDevAnony.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-12T11:40:10.000Z","updated_at":"2025-05-19T22:59:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"555c11fe-edd4-4afd-bf7e-ee0eb7e46299","html_url":"https://github.com/MrDevAnony/GradeAverageCalculator","commit_stats":null,"previous_names":["mrdevanony/gradeaveragecalculator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MrDevAnony/GradeAverageCalculator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrDevAnony%2FGradeAverageCalculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrDevAnony%2FGradeAverageCalculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrDevAnony%2FGradeAverageCalculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrDevAnony%2FGradeAverageCalculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MrDevAnony","download_url":"https://codeload.github.com/MrDevAnony/GradeAverageCalculator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrDevAnony%2FGradeAverageCalculator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279011983,"owners_count":26085039,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-21T20:11:30.881Z","updated_at":"2025-10-12T16:06:25.249Z","avatar_url":"https://github.com/MrDevAnony.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎓 GPA Calculator (with a Fun Twist!)\n\nA simple Java console program that calculates a student's GPA based on 10 subjects, and adds a little surprise at the end 🎉\n\nIf your GPA is higher than 18, you’ll get a **random reward**!  \nIf it's 18 or below, well... you might face a **random punishment** 😈\n\n---\n\n## 📦 Features\n\n- Accepts grades for 10 subjects\n- Validates each grade (must be between 0 and 20)\n- Calculates the GPA\n- Randomly gives a **reward** if GPA \u003e 18\n- Randomly gives a **punishment** if GPA ≤ 18\n- Simple and interactive console interface\n\n---\n\n## 🛠 Requirements\n\n- Java JDK 17 or newer\n- A terminal or console (or run it in **VS Code**, IntelliJ, etc.)\n\n---\n\n## 🚀 How to Run\n\n### 1. Clone the repository\n\n```bash\ngit clone https://github.com/your-username/gpa-calculator.git \u0026\u0026 cd gpa-calculator\n```\n\n#### 2. Compile the program\n\n```bash\njavac StudentGrades.java\n```\n\n### 3. Run the program\n\n```bash\njava StudentGrades\n```\n\n## 🧪 Sample Output\n\n```text\nEnter the grades for 10 subjects (0 to 20):\nGrade 1: 19\nGrade 2: 17\n...\nYour GPA is: 18.70\nCongrats! You get a reward: Free ice cream 🍦\n```\nor\n```text\nYour GPA is: 15.40\nOops! Your punishment is: Clean your room 🧹\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrdevanony%2Fgradeaveragecalculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrdevanony%2Fgradeaveragecalculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrdevanony%2Fgradeaveragecalculator/lists"}