1.

Please answer this question,it's very important,I am having my exam tomorrow​

Answer»

#include

int main()

{

int E;

CHAR name[50];

printf("Enter Your Name : ");

GETS(name);

printf("Enter Your WEIGHT on Earth in Kg : ");

scanf("%d" ,&E);

int M = E/6;

printf("The weight of %s on moon is %d kg" ,name,M);

return 0;

}



Discussion

No Comment Found