---
title: "Discussion on \"BMI calculator\" | Hashnode"
description: "Discussion on \"BMI calculator\". #include <stdio.h>\n\nint main()\n{\n    double weight;\n\n    double height;\n\n    printf(\"Enter your Weight in kilograms: \");\n\n    scanf(\"%lf\", &weight);\n\n    printf(\"Enter your Height in meters: \");\n\n    scanf(\"%lf\", &height);   \n\n    double s = (height ..."
url: "https://hashnode.com/posts/bmi-calculator/64c5035c7d4f0d7bf6030f06"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [BMI calculator](https://mahmoudblog.dev/bmi-calculator?utm_source=hashnode&utm_medium=feed)

#include <stdio.h> int main() { double weight; double height; printf("Enter your Weight in kilograms: "); scanf("%lf", &weight); printf("Enter your Height in meters: "); scanf("%lf", &height); double s = (height ...

Jul 29, 2023 · 1 min read · mahmoudblog.dev  
Read the article

-   [#calculator](https://hashnode.com/tag/calculator)
-   [#bmi](https://hashnode.com/tag/bmi)
-   [#c](https://hashnode.com/tag/c)
-   [#program](https://hashnode.com/tag/program)

## Written by

[Mahmoud Hammam](https://hashnode.com/@MahmoudHammam)

@MahmoudHammam

  
[View profile](https://hashnode.com/@MahmoudHammam)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
