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 4 – My C Program to Calculate Simple Interest

 🌟 Mayur’s Tech Journey


I am Mayur B Gund, a first-year Computer Science and Engineering student at Sanjivani College of Engineering.

Through this blog series, Mayur’s Tech Journey, I am documenting my daily coding learnings — starting from the basics of Python and C, and gradually moving towards bigger projects.

My aim is to learn, explore, and share everything I code, so that someday I can look back and see how far I’ve come.

✨ This is not just about writing code, but about building consistency, discipline, and a strong foundation for my future in technology.


💰 Day 4 – My C Program to Calculate Simple Interest


Today, I explored another practical application of C language — writing a program to calculate Simple Interest using user inputs. This program made me realize how coding connects directly with real-world problems from mathematics and finance.


🧩 The Program :


#include <stdio.h>

/*

program : To find simple interest using user inputs

Author : Mayur B Gund

Date : 08/09/2025

*/


int main() {

    float p, r, t; // principal, rate, time

    printf("Enter principal amount :\n");

    scanf("%f", &p);

    printf("Enter rate of interest : \n");

    scanf("%f", &r);

    printf("Enter time for interest : \n");

    scanf("%f", &t);

    printf("The simple interest on the given inputs is : %f", (p * r * t) / 100.0);

    return 0;

}


📌 Output Example :


Enter principal amount : 

30000.0

Enter rate of interest :

4.5

Enter time for interest :

5

The simple interest on the given inputs is : 6750.000000



💡 What I Learned Today :


  • How to take multiple user inputs in a program.
  • Use of float variables for decimal values.
  • Applying a real-life formula in C.
  • Structuring input and output for better readability.
  • Setting up a C environment in VS Code — unlike Python, it requires installing the correct compiler and extensions like Code Runner


🚀 Reflection :


Coding in VS Code for the first time in C was not easy. I had to work hard to set up the environment, and I realized something important: every language has its own legacy.

Python was simple to start with, but C made me understand the importance of compilers and configurations. This challenge itself became a learning experience

With every program, from geometry (area of circle) to finance (simple interest), I feel closer to solving real-world problems with code.


✨ Step by step, building my coding journey 🚀


Code in C Language 

Output of program 




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...