#include <stdio.h>
typedef struct {
float height;
int age;
} Person;
int main(int argc, const char * argv[]) {
// insert code here...
Person tom;
tom.age = 23;
tom.height = 22.0;
printf("the person age %d,\n", tom.age);
printf("the height is %f, \n", tom.height);
printf("Hello, World!\n");
return 0;
}
Result:
the person age 23,
the height is 22.000000,
Hello, World!
Program ended with exit code: 0