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
Write a class named Movie that has fields to hold the following data: Title Studio Name Year produced Rating In the Movie class,
rewona [7]

Answer:

Explanation:

don't know

3 0
2 years ago
What is the base for a hexadecimal number system?
miskamm [114]
The base for a hexadecimal number system is 16
5 0
3 years ago
Which of the following is not a language commonly used for web programming?
DerKrebs [107]
The answer would be Assembly language as assembly language is not used for web development, but rather is a low level programming language.

Please mark branliest if this helped!!
7 0
3 years ago
Read 2 more answers
In what ways can technology help you be more
Liono4ka [1.6K]

Answer:

All the options below A-D apply.

Explanation:

A) computers and printers allow for the creation of electronic documents. Apps which detect grammatical blunders help to reduce and eliminate grammatical errors thus making the document more concise, lucid and to the point.

B) ICT enables one communicate with anyone, anywhere in the world. With a mobile phone and the relevant apps, it is possible to reach any country via the internet or via the traditional telecommunications systems.

C) Thumb Drive is also known as a Flash Drive or a USB Storage Device. It allows for the storage all types of file/documents. They may be vidoes, audio files, word processed files, etc.

D) Apps can help with procastination.

The can help on to set up reminders about tasks that ought to be done.

Cheers!

5 0
3 years ago
If you double the force of and object what happens to the acceleration
Vera_Pavlovna [14]

Answer:

As we increase the force on an object the acceleration increases proportionally. Since the mass does not change as the acceleration increases, we can say that force is equal to acceleration

7 0
3 years ago
Other questions:
  • The analysis of how people relate to each other is known as?
    6·1 answer
  • "Common knowledge" must always be credited or else it is considered plagiarism?<br> True<br> Fales
    5·1 answer
  • After running a Google Search Ads campaign for several months, Meredith notices sales of her advertised products are starting to
    8·1 answer
  • To use the mail merge feature in Access, the first step is to start the Microsoft Word Mail Merge Wizard.
    11·1 answer
  • Someone once observed that "the difference between roles and groups is that a user can shift into and out of roles, whereas that
    13·1 answer
  • Write a function called print_function that takes integer number as argument and prints the following pattern if input is 3
    14·1 answer
  • Which table option enables you to combine the contents of several cells into one cell?
    6·2 answers
  • Who wants 100 points? comment buh. i don't rlly care buh.
    15·2 answers
  • Directions: Fill in the blanks with the appropriate word in each statement below.
    10·1 answer
  • Who was the first person to develop http the language in which servers and browsers communicate
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!