Open the terminal and using vi/vim create a new script and name it lab6 Insert at the top...

90.2K

Verified Solution

Question

Programming

  • Open the terminal and usingvi/vim create a new script and name itlab6
  • Insert at the top of your filea comment with your name, class and section number(e.g. #John Doe, EMT 2390L - OL123).
  • In this lab you are going todisplay a multiplication table of a number entered by the userbetween 2 and 10 using a for loop and without using multiplication.The table will display the values that are less than or equal to100.
  • Ask the user whatmultiplication table to display and save that value in a variablenamed table.
  • Validate the value of thevariable table so that it is a numberbetween 2 and 10 inclusive.
  • Using a for loop, display thevalues of the multiplication table of the number entered by theuser in the variable table, going up to100.
  • Save the script and make itexecutable (HINT: use thechmod command with mode755).
  • Execute the script(HINT: use dot slash ./combination, followed by your script name) and fix any errors.
  • Submit here on Blackboard yourscript file. DO NOT submit screen shots, ZIP files, or any otherkind of file. Submission is on Blackboard ONLY. DO NOT send emailsor messages, use the Blackboard link to the lab in order tosubmit.
  • Deadline: 10/28 at11:59PM

Answer & Explanation Solved by verified expert
4.2 Ratings (492 Votes)
HiNOTE I hope in this question you need a shell scriptfor the multiplication table till 100 between 2 and 10inclusiveI am assuming that you can open the    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students