Skip to main content

Problem Statement

Imagine you are developing a fitness tracking app for marathon runners. The app’s goal is to calculate how many calories a runner burns based on the distance they run. A person burns 50 cal/km. Write a C program that takes distance travelled in metres and calculates the calories burned by the marathon runner.

Test Case

Solution

Input

Output