Question: 1. Write a script to display numbers from 1 to n, where n is an integer provided by users (if not, default to 10). Hint:

1. Write a script to display numbers from 1 to n, where n is an integer provided by users (if not, default to 10). Hint: use read command to accept user input.

a) Display the source code in an editor (screenshot)

b) Execute your script in the terminal, and display the command and the result (screenshot)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!