Skip to content

rkareem2/-Rasheed-_Training_Modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

"Rasheed Module One"

Answers:

  1. Version Control System is a system that helps users track different versions of a code and makes it easy to collaborate with other developers
  2. A new branch can be created by typing git branch new_branch
  3. The git clone command is used to point to an existing repo in other to make a clone of the repo or to directly copy that repo at a new directory.
  4. To stage changes for a commit you would use git add command
  5. Pull request basically lets us notify others about any changes that have been pushed to a branch in a repository

612bff8412e03dc3c84ea5aabe743d51

Favorite Song on Youtube

Youtube

"Rasheed Module Three"

Answers

  1. To add a single line comment in python we use # followed by whatever we intend to write
  2. To add a single line comment in c++ we use two forward slashes (//)
  3. To add a multi-line comment in Python we use Triple Quotes (""") before the beginning of whatever we would like to comment out and then the same at the end of the comment
  4. To add a multi-line comment in C++ we use (/*) at the beginning of our comment and close the multi-line comment with (*/)

Mod3_Q3 Documentation

Identifying Odd or Even numbers

This code helps us identify Odd and even numbers by using the Modulo operator which is an operator that shows the remainder of any arithmetic. If a number is even and is divided by two it has no remainder but an odd number would have a remainder greater than 0. In this solution, I used that logic to arrive at a solution

Parameters

num 1, num2 and sum

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages