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
Get step-by-step solutions from verified subject matter experts
