Code:
#include <stdio.h>
int main()/*firstoff all its ()*/
{
double centimeters,kilograms,pounds,inches;
int a,b,c;
char name[30];/* I dont know but if ne1 has a name larger then 30 letters plz notify me:-p*/
printf("Please enter your name\n");
gets(name);/*i think for now gets() would be fine*/
printf("Ur name is %s.",name);
return 0;/*dont write void main write int main() and return 0;*/
}
*first off all use code tags
*second dont just copy this for height etc but have a look at it and try to understand it
* and check the book u use to learn c coz u take lessons for it then i suppose i also have some books about it
grtz
Lamb