help fixing errors from my code

Job ID: 34808065

Budget: $10 – $30 USD

It is an easy project i only have two bugs and need help to see them
Related categories: C Programming JavaScript C++ Programming