Skip to content

dev-gothi/C-Projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🖥️ C Projects — Dev Gothi

This Repository contains all my projects related to C Language built by me from scratch, covering console applications, recursive algorithms, randomized simulation, and menu-driven systems.


📁 Projects

A fully functional two-innings cricket match simulator built entirely in C.

Highlights:

  • Stadium selection from 10 real international venues
  • Randomized toss with bat/bowl choice
  • Ball-by-ball simulation using rand() seeded with time(0)
  • Live scorecard with run rate after every delivery
  • Extras handling (wides/no-balls) without consuming a ball
  • Full two-innings match — target set and chased
  • Formatted final scorecard with winner declaration

Concepts: Structs · Pointers · Functions · rand() Simulation · Loops · switch


A menu-driven multi-operation calculator with recursion-based factorial and power functions.

Highlights:

  • 8 operations: Add, Subtract, Divide, Multiply, Factorial, Modulus, Power, Exit
  • Recursion used for both factorial and power — not iterative loops
  • Float division with divide-by-zero protection
  • Continuous loop — stays running until user exits
  • Built at VLSI Lab, SVNIT (vlsilab-client37)

Concepts: Recursion · Functions · switch · while loop · Float vs Int · Input Validation


🧠 Skills Demonstrated

Skill Projects
Structs & Pointers Cricket Simulation
Recursion Calculator
Modular Function Design Both
Input Validation & Edge Cases Both
Randomized Logic (rand, srand) Cricket Simulation
Console I/O (printf, scanf) Both
switch & Loop Control Both

🚀 How to Run Any Project

Compile

gcc .c -o output

Run

./output


---

## 👤 Author

**Dev Gothi**
VLSI Student — SVNIT Surat (B.Tech VLSI, 2025–2029)

🔗 [GitHub](https://github.com/dev-gothi) | [LinkedIn](https://linkedin.com/in/dev-gothi)

---

## 📄 License

All projects in this repository are open source under the [MIT License](LICENSE).

About

This Repository contains all my projects related to C Language

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages