Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <conio.h>
- int main(void)
- {
- int heightBody, weightBody, heightAndWeightResult; // Variables
- printf("Enter Body Weight: ", weightBody); //Manual Input
- scanf_s("%d", &weightBody);
- printf("Enter Body Height: ", heightBody);// Manual Input
- scanf_s("%d", &heightBody);
- heightAndWeightResult = heightBody + weightBody; // to calculate the height and weight
- printf("Body Result: ", heightAndWeightResult);
- getch();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement