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.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
67 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.