sandbox-c/struct-location/location.h

10 lines
218 B
C
Raw Normal View History

2023-01-03 13:32:26 +01:00
/*use struct statement to define structure*/
struct location {
/*latitide like +052.26594*/
char lat[11];
/*longiture like +10.52673*/
char lon[10];
};
struct location getLocation(char lat[11], char lon[10]);