Create a repository called “Practical3-StudName” within GitLab. Write a program that will take three integers from the command line. It should print out the values entered. Commit this to the repository Using the clone command, use the command line to clone the initially empty repository. Add a method to the program that takes in these three integers and calculates and returns the volume of a cuboid(Volume = Length × Width × Height). Commit this to the repository. Print that value to console. Add a method to the program that takes in these three integers and calculates the surface area of a cuboid (2*w*h + 2*w*d + 2*h*d). Commit this to the repository. Print that value to console. Add a method that totals up the length of the edges of the cuboid (4*w + 4*h + 4*d) and returns that value. Commit this to the repository. Print that value to console. Run the git-log command and post a full screenshot of the entire log. There should be at least 4 entries in the log. Make arbitrary mistakes in your code such that it will not compile then run the git reset command. What happens? Checkout your second commit that is visible in the log. What has happened to your code? Checkout the HEAD of your repository. What has happened to the code? Please Ans within 30 to 1 hour to get thumbs up .
Create a repository called “Practical3-StudName” within GitLab. Write a program that will take three integers from the command line. It should print out the values entered. Commit this to the repository Using the clone command, use the command line to clone the initially empty repository. Add a method to the program that takes in these three integers and calculates and returns the volume of a cuboid(Volume = Length × Width × Height). Commit this to the repository. Print that value to console. Add a method to the program that takes in these three integers and calculates the surface area of a cuboid (2*w*h + 2*w*d + 2*h*d). Commit this to the repository. Print that value to console. Add a method that totals up the length of the edges of the cuboid (4*w + 4*h + 4*d) and returns that value. Commit this to the repository. Print that value to console. Run the git-log command and post a full screenshot of the entire log. There should be at least 4 entries in the log. Make arbitrary mistakes in your code such that it will not compile then run the git reset command. What happens? Checkout your second commit that is visible in the log. What has happened to your code? Checkout the HEAD of your repository. What has happened to the code? Please Ans within 30 to 1 hour to get thumbs up .
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
Create a repository called “Practical3-StudName” within GitLab.
Write a program that will take three integers from the command line. It should print out the values entered. Commit this to the repository
Using the clone command, use the command line to clone the initially empty repository.
Add a method to the program that takes in these three integers and calculates and returns the volume of a cuboid(Volume = Length × Width × Height).
Commit this to the repository. Print that value to console.
Add a method to the program that takes in these three integers and calculates the surface area of a cuboid (2*w*h + 2*w*d + 2*h*d). Commit this to the repository. Print that value to console.
Add a method that totals up the length of the edges of the cuboid (4*w + 4*h + 4*d) and returns that value. Commit this to the repository. Print that value to console.
Run the git-log command and post a full screenshot of the entire log.
There should be at least 4 entries in the log.
Make arbitrary mistakes in your code such that it will not compile then run the git reset command. What happens?
Checkout your second commit that is visible in the log. What has happened to your code?
Checkout the HEAD of your repository. What has happened to the code?
Please Ans within 30 to 1 hour to get thumbs up .
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 1 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-engineering and related others by exploring similar questions and additional content below.Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY