1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
vodka [1.7K]
2 years ago
14

What is a shell programming? Write a shell program to get the following details from the student: NAME, AGE, USN and GENDER. Out

put all the details to the terminal and also display message whether the student is eligible to vote or not
Computers and Technology
1 answer:
Leya [2.2K]2 years ago
3 0

Shell programs are computer programs designed to run on the Unix/Linux shell

The shell program where comments are used to explain each line is as follows:

#This gets input for NAME

read NAME  

#This gets input for AGE

read AGE  

#This gets input for USN

read USN

#This gets input for GENDER

read GENDER

#This prints the name

echo "Name: $NAME"

#This prints the age

echo "Age: AGE"

#This prints the usn

echo "USN: USN"

#This prints the gender

echo "GENDER: $GENDER"

#The following if condition determines, if the user is eligible to vote or not

if [ $USN -gt 50 ] then

echo "You are not eligible"

else

echo "You are eligible"

Read more about computer programs at:

brainly.com/question/13795586

You might be interested in
People who connect one network to another within the company or even across organizations are A. central connectors. B. boundary
Lunna [17]

People who connect one network to another within the company or even across organizations are boundary spanners.  

People who serve as ambassadors to linking information and communications on informal networks within different department in an organisation and with other organisations or personnel  far and near for the good of their organisation are called Boundary Spanners.

The importance of Boundary  spanning in organisation includes

  • Exchange of expertise information
  • Nurturing of connections with people from different part s of the world.
  • Improved innovation in businesses

See more here: brainly.com/question/14728967

5 0
3 years ago
¿Que tres tipos de resistores conocemos?
PilotLPTM [1.2K]

carbon-composition resistors, carbon-film resistors, and metal-film resistors

No hablo español lo siento

3 0
3 years ago
Read 2 more answers
Do you think cell phones are addictive? Why or why not? (Give three reasons and explain.) pls help i will mark brainliest too :D
andreev551 [17]

<em>Answer:</em>

<em>I do think cell phones are addictive. Most people use their phones for social interactions and are constantly checking to see if anyone messaged them or liked their post(like me). My sister uses her phone to facetime her friends and is always eager and waiting for them to answer and she acts like there is nothing else in the world to do which shows true addiction. One last reason cell phones are addictive because without one you think you are missing out on something but your really just missing out on life outside of your phone</em>

<em>Explanation:</em>

5 0
3 years ago
How do you take a picture on an apple computers
Mamont248 [21]

Answer:

You go to the launcher, then find Photo Booth. Photo Booth allows you to take photos. You can only take photos on the side where the screen is, since there isn't a camera on the back. I recommend taking a picture with a phone instead. For a screenshot, press command-shift-3.

Hope this helps!

3 0
3 years ago
To avoid fatal errors, it is advised to apply the _____ statement locally only to functions that are created rather than globall
aliina [53]

Answer:

To avoid fatal errors, it is advised to apply the <u>"use strict"</u> statement locally only to functions that are created rather than globally as the first line of the script file.

7 0
2 years ago
Other questions:
  • "what is the name of the ipsec configuration file"
    9·1 answer
  • Identify the function for the following computer part: Printer Question 23 options: Input
    6·1 answer
  • Problem 1: Create a list that contains the months of the year. Problem 2: Create a loop to print the month number and name (do n
    7·1 answer
  • What type of html list will automatically place a number in front of the items?
    9·1 answer
  • Select the correct answer.
    13·1 answer
  • 2.
    8·1 answer
  • Which body of water is most likely to be a marine ecosystem?
    15·1 answer
  • A human subject’s photographs show two catchlights in each eye that are unwanted by the photographer. What is the most likely ca
    12·1 answer
  • It is important to consider design details when creating an api because: ______________
    14·1 answer
  • A company is looking for an employee to design and test connections in its
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!