Write a shell script to read from the keyboard

Assignment Help Programming Languages
Reference no: EM1364247

Write a shell script called poject.21 to read from the keyboard and display on the monitor first name, last name and age if the age is less than 50. If the age is greater than 50, it will display your are over 5 instead of the age.
Use 3 different variable names and a "Loop construct" for reading and displaying.
The program repeats asking and displaying these information until you enter 101 for the age

Reference no: EM1364247

Questions Cloud

How to calculate the horizontal distance the ball : how to Calculate the horizontal distance the ball would travel if the same spring were aimed 32 deg from the horizontal.
Prior hisory of immunizations : A nurse is reinforing teaching with a client who reports no prior hisory of immunizations. Which of the following statements requires further teaching?
Buffet requirement to be capital efficient : The best investor of all time, Warren Buffet, talks about investing in "capital efficient" businesses. Coca Cola falls into this category since it generates great sums of cash with minimal investment in capital.
Illustrate what increase in consumer prices will occur : Suppose a unit of quota rights allows the producer to sell a unit of output each year indefinitely into the future. Illustrate what increase in consumer prices will occur.
Write a shell script to read from the keyboard : Write a shell script called poject. 21 to read from the keyboard and display on the monitor first name, last name and age if the age is less than 50. If the age is greater than 50, it will display your are over 5 instead of the age.
Compute the expected return on stock : Assume the expected return on the market portfolio is 13.8% and the risk-free rate is 6.4%. Solomon Inc. stock has a beta of 1.2.
Bringing drugs to the market : What are the benefits to bringing drugs to the market? What are the costs to bring a drug to the market?
Compute canonical cover for set of functional dependencies : Compute a canonical cover for the above set of functional dependencies (show each step of your derivation with an explanation).
What is the mass of the fish : The longest recorded pass in an NFL game traveled 86 yards in the air from the quarterback to the receiver.Assuming that the pass was thrown at the optimal 45 angle, what was speed at which the ball left the quarterback's hand.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a single line for body of constructor to create object

Create the constructor Orb(int xSpeed, int ySpeed). Write a single line for the body of the constructor,which creates a new Velocity object.

  Program for saving account balance report

Savings account balance report from customer savings account file. Every input savings account record contains account number, balance forward, deposits (sum of all deposits).

  Determine bowler had highest average and print name

Output the bowlers name, avg. and number of stars earned. Discover which bowler had the highest average and print out their name and average.

  Write a program to compute the probability

Write a program (or a peudocode) to compute the probability that at least 2 people have the same birthday, given there are 2, 3, 4,....,60 people in the room.

  Explain multiprogrammed system available in user mode

CPU voltage and frequency or put it to sleep altogether. In a multiprogrammed system should this functionality be available in user mode or only accessible via system call. why or why not?

  Write program to create n-dimensional array on th runtime

Write a program to create an n-dimensional array on the runtime with the help of pointers. The user will enter on the run time that how many dimensions are required.

  Design program to asks for number of fat grams

Design a program that asks for the number of fat grams and calories in a food item. Validate the input as follows: Make sure the number of fat grams and calories are not less than 0.

  Subdividing address block among four different customers

The ISP needs to subdivide the address block among four different customers, requiring 29, 28, 27, and 26 hosts respectively.

  Program to track which user is logged onto which computer

Write a computer program that could be used to track, by lab, which user is logged onto which computer.

  Design program that allows clerk to go through cards

Design a program that allows a clerk to go through the cards, entering the district for each citizen until an appropriate sentinel value is entered.

  Write program asks user to enter temperature

Write a program that asks the user to enter a temperature, and then shows all the substances that will freeze at that temperature and all the substances that will boil at that temperature.

  Write pseudocode

Write pseudocode that represents the abstract functions of the enqueue and dequeue operations. Define and explain any supplementary information needed by your pseudocode.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd