Objectives

  • Git: Submit your first assignment using Git and GitHub.
  • C++: Creating variables.
  • C++: Using arithmetic operations on variables.
  • C++: Using control statements: If, else if, else, while, for, switch-case.
  • C++: Play with simple functions.
  • C++: Play with namespace.

Prerequisites (Before you start)

Deadline

Saturday, 1st March 2020, 11:59 PM.

Assignment Registration

Press on Accept this assignment
Ready to go, click on the generated link
Clone your remote repository to your machine
from the terminal git clone your_link
Using Qt Creator, select File->Open File or Project..
Go to your assignment directory and select the CMake file CMakeLists.txt
Press Configure
Open the main.cpp file. You will find the questions as in-line comments. Questions P1 and P3 are solved for you to be more familiar.
To compile and run..

Submission

Open a terminal in the assignment directory
$ git commit -a -m "solved all problems!"
$ git push origin master