Take screen shot after executing each task (for each question some questions may require more than 1 screen shot). 1. Pl
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Take screen shot after executing each task (for each question some questions may require more than 1 screen shot). 1. Pl
question some questions may require more than 1 screen shot). 1. Place all the screen shots in the boxes provided in this document. 2. Write any written answers in the box provided 3. Place a link to your project on Gitlab wwwww 4. Convert the document to pdf format (see Moodle link if you are unsure wwwwwww how to do this) NO WORD DOCUMENTS ACCEPTED 5. Submit the document on Moodle. Link to project on GitLab: Tasks: 1. Create a repository called "Practical2-PreciousAkpoghenobor" within GitLab. {A%AA%AA% (Do a screenshot showing this) www. 2. Using the clone command, use the command line to clone the initially empty repository. (Do a screenshot showing this) 2. Write a program that will take in two integers from the command line and will multiply them together. It should write a message to the console stating that "The area of the rectangle is:" followed by the result of the multiplication. (Do a screenshot showing this) 3. Commit this to the repository. (Do a screenshot showing this) 4. Using the commands for branching as shown in the lecture notes create a branch called "experiment1". (Do a screenshot showing this) 5. Modify the code to take in a third integer from the command line and multiply all three values together. It should write a message to the console stating that "The volume of the cuboid is:" followed by the result of the multiplication. (Do a screenshot showing this) www. 6. Commit this to the repository. (Do a screenshot showing this) 7. Switch from the "experiment1" branch to the "master" branch. (Do a screenshot showing this) 8. Inspect your code. Write down what you think has happened. (Do a screenshot showing this) 9. Switch back to the "experiment1" branch again. Inspect your code. Write down what you think has happened. Paint X Lite
Take screen shot after executing each task (for each