[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

Grading Scale

Asked by hejafu1 in Bourne Shell (sh)

Tags: Unix Shell Script

I am not familiar with Unix/Linux at all and have fallen behind in my class trying to figure this stuff out. I need help. I have two more weeks in this class and I need to have the below pseudo solved as soon as possible. I am lost trying to do this. Can you solve?

1.     Create a shell script in your home directory.
2.     Convert the pseudocode below into a script.
3.     Save the script.
4.     Execute the script and input the 3 grades when prompted.
5.     Provide script and captured output for assignment.
Pseudocode
·         Read in 3 grades from the keyboard
·         Average the grades
·         Display the appropriate letter grade for the number grade using this scale:
o    90 to 100: Display a grade of A
o    80 to 89: Display a grade of B
o    70 to 79: Display a grade of C
o    65 to 69: Display a grade of D
o   0 to 64: Display a grade of F
 
[+][-]10/28/09 10:51 PM, ID: 25690976Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/29/09 01:00 AM, ID: 25691384Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/29/09 05:03 AM, ID: 25692646Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/29/09 07:26 AM, ID: 25694035Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/29/09 07:37 AM, ID: 25694128Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/29/09 07:45 AM, ID: 25694221Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/02/09 01:40 PM, ID: 25724054Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-89 - Hierarchy / EE_QW_3_20080625