DEV Community

ANKIT DABRAL
ANKIT DABRAL

Posted on

From Fibonacci to Number Systems: My C++ Progress Today

Today I wrapped up my last pending functions exercise: printing the Fibonacci series for N terms.

Cursor IDE Code for Fibonacci

I followed a tutorial to understand the approach, then wrote the code on my own. That gave me a chance to practise using a function to organize a problem and to work through how the sequence grows from its previous two terms.

After that, I started exploring number systems in code:

Converting a decimal number to binary

Converting a binary number back to decimal

Cursor IDE Code for Binary and Decimal Number Conversions

Working through both directions helped me connect the number system concepts I was studying with actual C++ logic.

I also started learning about arrays, which is the next step in my DSA journey. I’m looking forward to practising how to store and work with multiple values.

One step at a time: understand the idea, translate it into code, and keep practising.

#cpp #dsa #programming #learninginpublic

Top comments (0)