Skip to content

About

basic calculator for beginners c

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Weight Converter in C

Day 4 of learning C programming

This is a simple console-based weight conversion program written in C.
The program allows the user to convert between kilograms and pounds using a menu system

Features

  • Convert kilograms to pounds
  • Convert pounds to kilograms
  • User-friendly menu
  • Decimal precision up to 2 digits

How It Works

  1. The program displays a menu with two options.
  2. The user selects the conversion type.
  3. The user enters the weight value.
  4. The program calculates and displays the result.

Conversion Formula Kilograms to Pounds: kg × 2.20462 Pounds to Kilograms: lb ÷ 2.20462

Example Output

About

basic calculator for beginners c

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages