Skip to content

Anshul-137/Git2Azure-Final-Task

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Training Task - Fibonacci Series (Multiple Languages)

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.

📌 Task Description

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.

🚀 Steps to Complete the Task

1️⃣ Clone the Repository

First, clone the GitHub repository to your local system.

2️⃣ Create a New Branch

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

3️⃣ Fix the Code

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)

4️⃣ Commit Your Changes

After fixing the code, stage and commit your changes.

5️⃣ Push Your Changes

Push your branch to GitHub.

6️⃣ Create a Pull Request (PR)

✅ Completion Criteria

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

🔥 Good Luck!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 47.7%
  • C++ 29.6%
  • C 13.2%
  • Python 9.5%