Question: Write a program that takes weight in kilogram & gram. If grams exceed 1000 then add it to kilogram value. Hint : 1000 g =
Write a program that takes weight in kilogram & gram. If grams exceed 1000 then add it to kilogram value. Hint : 1000 g = 1 kg
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
