Requirements
lab1.c skeleton file is created for you. Write a function that prints out a multiplication table for numbers starting from 0 to n. The signature of the function is:
void printMultiplicationTable(int n)
1. A sample output format with input 2 is presented below, but use any form of loop to do this
>> ./a.out 2
X 0 1 2
0 0 0 0
1 0 1 2
2 0 2 4
2. Note that you are getting the value n from the command line argument
3. The maximum value of n will be 8
4. You will implement the main function
5. The print of the multiplication table occurs inside printMultiplicationTable function
Some Useful Guides
β’ We will use github extensively. Please review github basics here:. https://github.com/git-guides
β’ Basic Linux commands: https://ubuntu.com/tutorials/command-line-forbeginners#1-overview
Restrictions
β’ Do NOT modify main and printMultiplicationTable function signatures
β’ Only use standard libraries listed in Learning Hub
β’ Only <executable> n will be used to run your program.
Grading
β’ (1 point) Correctly use git/GitHub and the repository following the lab handout
β’ (1 point) Generate a correct solution to the problem(s) in this lab
β’ (1 point) Correctly format outputs
Submission Files
β’ You must deliver only one .c file named: lab1.c
β’ The file that you send should be a .c file (not .txt, not .cpp or any other type)
β’ lab1.c (do not capitalize)
β’ AXXXX.txt (empty file, but with your A number as file name)
β’ Only push these two files, no other files
β’ Github: https://classroom.github.com/a/MTNe7It1







