This document prompts the user to input a distance between two cities in kilometers, then calculates and displays that distance converted to meters by multiplying the kilometers by 1000, and finally displays the distance in centimeters by multiplying the meters by 100.
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
65 views
Linux Shell Example
This document prompts the user to input a distance between two cities in kilometers, then calculates and displays that distance converted to meters by multiplying the kilometers by 1000, and finally displays the distance in centimeters by multiplying the meters by 100.