Reference no: EM1379997
In this script, change pseudocode that uses a decision structure into a shell script. The script then will accept 3-grades, compute an average, and then show a letter grade based upon the average. You will need to use either the if statement or the case statement to implement this script.
1. Log in to the Linux system as a user, and then open a Terminal
emulation window.
2. Create a shell script named Project6-4 in your $HOME/bin directory.
3. Convert the following pseudocode into code for the script:
Read in three grades from the keyboard
Average the grades
Display the appropriate letter grade for the number grade using this scale:
90 to 100: Display a letter grade of "A"
80 to 89: Display a letter grade of "B"
70 to 79: Display a letter grade of "C"
65 to 69: Display a letter grade of "D"
0 to 64: Display a letter grade of "F"
Insert appropriate comments
4. Save the script, quit the editor, and then make the script executable.
5. Execute the script and then input 100, 90, and 100 when prompted for each grade.
6. Record the output.
7. Execute the script again.This time input 99, 68, and 70 when prompted for
each grade.
8. Record the output.
9. Execute the script one last time. Input 80, 96, and 72 when prompted for
each grade.
10. Record the output.
Trends that significantly affect this company''s future
: For several years Gerber has manufactured baby food in small, single sized containers. In conducting an environmental scan classify three trends or factors that might significantly affect this company's future business as well as how Gerber might ..
|
How can we ensure we influence them
: If we find this type of behaviour in our organizations how can we ensure we influence them also stop them without really impacting relationship building piece of action.
|
Compare the five categories of classroom training
: Compare the five categories of classroom training, lecture, discussion, audio-visual media, experiential methods as well as computer-based training
|
Discuss founder vision for star bucks company
: Discuss founder's vision for star bucks company also how it has been realized over years. Identify three characteristics of founder's vision that could be transferred to similar companies to improve their profitability.
|
Make unix scripts to compute student grades
: In this script, change pseudocode that uses a decision structure into a shell script. The script then will accept 3-grades, compute an average, and then show a letter grade based upon the average.
|
Which one of the four kinds of employee development
: Which one of the four kinds of Employee Development (Formal Education, Assessments, Job Experiences and Interpersonal Relationships) is most effective and why?
|
Implement the finite difference method
: Write a computer program to implement the finite difference method. The program can be in any computer language that is available within the school. Set up the code to find the potential for a parallel plate capacitor in the box shown below, all dime..
|
Identify key questions learned from our course to date
: Identify key questions learned from our course to date that will test merit of your idea. Respond to at least two of your fellow students' postings.
|
The bonds have a current market value
: A bond that has a 1000.00 par value as well as a contract interest rate of 11.7%. The bonds have a current market value of 1,125 as well as will mature in 10 years
|