Question: TASK - 0 1 : BASH Scripting - 1 1 0 Write a program using While Loop that will accept 7 integers from user within

TASK-01: BASH Scripting -110
Write a program using While Loop that will accept 7 integers from user
within the range of 7 to 70 and will calculate Sum of all the inputted
numbers. If the user enters any other value within 100(inclusive) that
doesnt fall into the range of 7-70(inclusive), an appropriate error
message should be shown and the program should ask for an input
again. However, if the inputted value exceeds 100, the program should
terminate without asking for any other input from the user.
Attach the clear screenshots showing the complete code for each
of the programs. Also, summary of each the key steps are also required.
TASK-02: BASH Scripting -210
Write a program to create a dataset of information containing name and
state of the applicants of Raffle Draw program. The records will all be
saved in a file that will have a name in line with your student ID. For
example S298900.txt. A maximum number of 20 applicant's information
can be recorded and minimum is 1. If the entered number crosses either
side of the limit, an error message should be displayed asking to re-enter
the name. Once a valid name is given in the input, the State information
should be collected. Here all states are accepted excluding Canberra. If
Canberra is given, again a message has to be displayed asking for a re-
entry. So once both name and state are given as per the rule, the
information should be recorded in the text file and the program should
move on to the next applicant. The next applicant's information should
be recorded in the same file after the previous applicant.
Check the Screenshot below to understand the flow:

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!