Skip to main content

2025: A Year of Exams, Excellence, and Evolution

 2025: A Year of Exams, Excellence, and Evolution Hi, I am Mayur Gund welcoming you at Mayur's Tech Journey.  As the curtains fall on 2025, I look back at a year that was defined by grit, transitions, and the discovery of my true passion. From the silent halls of exam centers to the vibrant development labs of Sanjivani, this year has been an unforgettable journey of growth. The Rigorous Start:  The year 2025 began with intense pressure. Every student in India knows the weight of the last week of January—the JEE Mains . My preparation was rigorous, and on 12th February, I received my first boost: a 83 percentile in JEE Mains. While I was still processing this, the HSC Board exams arrived in the same month, requiring a complete shift in focus from entrance logic to descriptive writing. The Frustrating Peak: MHT-CET and Mock A March was perhaps the most challenging month of the year. It was a period of constant mock tests. The frustration of stagnant scores and the repeti...

🚀 Day 5 – Calculating the Volume of a Cylinder in C

 🚀 Day 5 – Calculating the Volume of a Cylinder in C


Hello readers,

I am Mayur Gund, a first-year Computer Science & Engineering student at Sanjivani College of Engineering. Through this blog, I’m documenting my daily coding journey as I learn programming step by step. My aim is to share not just the code, but also my learnings, reflections, and growth as an engineer.


 ✨Today’s Program :

On Day 5, I wrote a C program to calculate the volume of a cylinder 📏.

Formula Used : 𝑉𝑜𝑙𝑢𝑚𝑒 = 𝜋×𝑟^2×ℎ


🖥️ C Code Snippet : 


#include <stdio.h>

int main() {

    /*

    Program : To calculate the volume of a cylinder

    Author : Mayur B Gund

    Date : 09/09/2025

    Day : 05

    */


    float r, h;

    printf("The program is designed to calculate the volume of a cylinder\n\n");

    printf("Enter the radius of the cylinder (in cm): ");

    scanf("%f", &r);

    printf("Enter the height of the cylinder (in cm): ");

    scanf("%f", &h);

    float volume = 3.14 * r * r * h;

    printf("\nThe volume of the cylinder is: %f cubic cm\n", volume);

    printf("\nThis program calculates with 100 percent accuracy. It is used to calculate the volume of a cylinder when radius and height are known.\n");

    return 0;

}


⚙️ Key Learnings Today :

  • Taking multiple inputs using scanf
  • Using floating-point variables for accurate results
  • Applying mathematical formulas directly in code
  • Better understanding of how to format outputs for readability


💡 Reflection :


Today’s program was a bridge between geometry and programming. It felt exciting to bring a formula I learned in school into the programming world. This exercise gave me more confidence in handling real-world problems through logic and code.


Every day adds a small block to my foundation in programming — and I can already see myself improving both in coding and problem-solving.


✅ Tomorrow, I’ll continue with another program to strengthen my basics and problem-solving skills in C.


Output of program



Code snippet

Code snippet






Also read :

Comments

Popular posts from this blog

The Boy Behind the Percentile: A Memory of 12:07 AM

  : Usually, this blog is about C++, Linux, and my journey through the world of technology. But today, I’m putting the code aside. A few days back,our college had a photoshoot with the placed students of this year. Seeing the happiness on their faces brought back a flood of memories. Writing this blog to get my thoughts out. I want to tell you a story about a moment that stays with me every time I walk through my college gate—a moment that defines why I work as hard as I do. The Myth of the "Bright" Student  People see my progress now—the 99.07%tile in PCM, 99.29 in PCB and college topper—and they call me "bright." But I’ll tell you a secret: I was never the bright student in school. I was average. The person you see today wasn't born with talent; I was forged in the fire of 12th grade. I remember the Sankalp (the vow) I took. I remember the late nights, the constant overthinking, and the "love-hate" relationship I had with that life. I was fighting fo...

🚀 Back on Track: Powering Up After Exams!

Hello and welcome back to Mayur's Tech Journey! It’s been a little over a month since my last post, and while I’ve been absent from the blog, I've been anything but idle in my learning. The past few weeks were a whirlwind of exams, but now that they're done, I'm thrilled to dive back into sharing my experiences with you. As a first-year B.Tech CSE student, this journey is all about constant learning and growth, and I have a bunch of exciting updates and technical breakthroughs to share. Let's catch up!  My Recent Achievements : The grind has been real, and I'm proud of the milestones I’ve hit! These achievements truly mark how far I've come CodeChef Streak & Stars: I managed to maintain a 19-day constant streak on CodeChef, demonstrating real consistency. More importantly, I recently achieved my 3rd star in C++ on hackerrank! This shift from just starting to gaining three stars is a huge personal win. DSA Kickstart: I officially began my Data Structures ...

To the Light Bearers of My Life: A Guru Purnima Tribute

From Blackboard to Heart – My Teachers, My Gurus                   ⚡️ Thanks to my Family :   I am so thankful to my parents and family for being my first Guru. You would be my guide forever. Dear Mom and Dad you are the best teachers of the world. You taught me the best skill of living. Happy Guru Purnima  🌱 My Early Gurus – Foundations of Curiosity As I look back, some names shine brightly from my school years. In my secondary school, I was deeply influenced by Kale Sir, Barhate Ma’am, and Navale Ma’am. Their incredible way of teaching mathematics made the subject come alive for me. Abhang Ma’am’s loving and kind nature touched my heart, while Dhas Sir’s strictness helped instill discipline in me – both equally important in shaping me. 🌐 The Digital Gurus – Learning Beyond the Classroom When I reached class 11, my world of learning expanded online. Dinesh Sir’s humorous way of explaining mathematics made even tough concepts feel...