Welcome to the GitHub training bootcamp! Your task is to fix a simple Fibonacci program. The repository contains four files in the main branch, each corresponding to a different programming language: Python, C, C++, and Java.
Each file contains an incomplete Fibonacci program with missing parts marked as FIXME. Your job is to fix the code, commit your changes, and submit a pull request.
First, clone the GitHub repository to your local system.
You must create a new branch before making changes. The branch name should be based on the language you are working with.(example given below): sh git checkout -b fix-bug-gitstudenthub-python # For Python
Open the respective file and resolve the FIXME comments by correcting the Fibonacci series implementation.
Files to Fix:(Any ONE)
- main.py (Python)
- main.c (C)
- main.cpp (C++)
- Main.java (Java)
After fixing the code, stage and commit your changes.
Push your branch to GitHub.
- Your PR should contain a correctly working Fibonacci program. - The PR should follow the branch naming convention: fix-bug-gitstudenthub-[language].
- GitHub Actions will check if your code compiles and runs correctly.