(Linux)I am trying to use this code:
*Converts pounds to kilograms.
#include <studio.h> /* printf, scanf,definitions*/
#define KG_PER_POUND .4536 /*conversion constant */
double pounds, /* input - weight in pounds. */
kg; /*output - weight in kilograms */
/* Get the weight in pounds. */
printf("Enter the weight in pounds> ");
/* Convert the weight to kilograms. */
kg = KG_PER_POUND * pounds;
/* Display the weight in kilograms. */
printf("That equals %f kilograms. \n", kg);
And after I try to to run it in terminal using
gcc -o lab1 lab1.c
I keep getting the message "lab1.c:4: fatal error: studio.h: No such file or directory
Is there anything specifically that I am doing wrong? Thanks for any help.