Write a program using if-else statements that convert from lbs to kg and vice versa. The input should be type (Lbs or Kg) and a number. The output of the program must be as shown in the examples...


Write a program using if-else statements that convert from lbs to kg and vice versa. The input
should be type (Lbs or Kg) and a number. The output of the program must be as shown in the
examples below.
Example 1:
Input: Enter your weight: 50
          (L)bs or (K)g: L
Output: You are 22.5 kilos
Example 2:
Input: Enter your weight: 50
          (L)bs or (K)g: K
Output: You are 111.11 pounds
Example 3:
Input: Enter your weight: 50
           (L)bs or (K)g: k
Output: Either of your inputs are invalid!



python



Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here