Write a customized function (using the DEF command) on converting temperature scales. Ensure to include an input command (where the user will input a given temperature).   Fahrenheit to Celsius and vice versa (for students with student numbers ending in 1, 2, 3, 4) Celsius to Kelvin and vice versa (for students with student numbers ending in 5, 6, 7) Fahrenheit to Rankine and vice versa (for students with student numbers ending in 8, 9, 0)

LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
5th Edition
ISBN:9781337569798
Author:ECKERT
Publisher:ECKERT
Chapter7: Working With The Bash Shell
Section: Chapter Questions
Problem 3RQ
icon
Related questions
Question

Write a customized function (using the DEF command) on converting temperature scales. Ensure to include an input command (where the user will input a given temperature).

 

Fahrenheit to Celsius and vice versa (for students with student numbers ending in 1, 2, 3, 4)

Celsius to Kelvin and vice versa (for students with student numbers ending in 5, 6, 7)

Fahrenheit to Rankine and vice versa (for students with student numbers ending in 8, 9, 0)

Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Linux
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L
New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning