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 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.

  Develop class templates for administrative employees

Develop classes or class templates for the following: Administrative Employees are paid a salary, but they also receive a bonus at regular intervals during the year. Add a class "Administrator" to the Employee class hierarchy.

  What is the throughput of the system

what is the throughput of the system

  Create a class named rectangle with length and width

To cover that floor with carpet that costs $8 per square foot would cost $960. (12 x 10 x8 = 960.). You should create a class named Rectangle with the following properties:

  Program for class quiz to implement measurable interface

State a class Quiz to implement Measurable interface. A quiz has a score and a letter grade (such as B+).

  Create a multi-threaded competition

Create a multi-threaded competition

  Designing menu for administrator to simulate transmissions

Design a menu which permits administrator to simulate transmissions of information by manually typing in login or logoff data.

  Explaining class definition of subclass of square

Write down the class definition of subclass of Square called FancySquare which has a method called getDiagonal. The getDiagonal method gets no arguments.

  Code to sum of all the elements of the array

Write some code that places the sum of all the elements of the array x into total. Declare any variables that you need.

  Create derived class by inheriting tthe class

Create a derived class named FancyDateClass by inheriting the DateClass. You will have to provide both the class definition and implementation.

  What are the contents of given register

Memory location 2000H has the word 5000H stored in it. What does each location contain after INC BYTE PTR[2000H]. Also after DEC WORD PTR[2000H]

  Write standalone program with recursive method string

Write a standalone program "TransformCharacters.java" with a recursive method String string changeCharacters(String string) that takes as an argument a string.

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