Back to Browse

Accept Marks and Display Grade in C | Else-If Ladder Example

10 views
Jan 10, 2026
4:05

In this video, we write a C program to accept marks from a user and display their Grade (e.g., iPhone, One Plus, etc. as fun examples!) based on percentage. πŸ’» This is a classic example to understand Ladder If-Else (else-if) logic where we have to check multiple ranges of marks: Above 90%: Top Grade Between 75% and 90%: Second Grade Below 75%: Other Grade πŸ“ Topics Covered: βœ… Accepting float input for marks. βœ… Using if-else-if ladder for multi-condition checking. βœ… Logic for Range Checking using &&. βœ… Dry run of the code with inputs 89, 65, and 78. πŸ‘¨β€πŸ’» This video is perfect for: Beginners learning Control Structures in C. Students confused about when to use else-if. BCS/BCA practical preparations. πŸš€ Why learn from NR Classes? We focus on Logic Building, not just syntax. Our goal is to make you confident in writing your own programs. πŸ“ž Join Our Offline/Online Classes: Want to learn personally from experts? Call/WhatsApp: 9730381255 🌐 Connect with us: Instagram: https://www.instagram.com/logic_overflow/ (Daily Coding Quizzes & Reels) Facebook: https://www.facebook.com/nrclasses/ Location: Pune, Maharashtra πŸ”” Don't forget to SUBSCRIBE and hit the Bell Icon so you never miss a new logic-building video! #CProgramming #LadderIfElse #GradeProgram #MarathiCoding #NRClasses #LogicBuilding #Engineering #BCS #BCA

Download

0 formats

No download links available.

Accept Marks and Display Grade in C | Else-If Ladder Example | NatokHD