You are viewing a single comment's thread. Return to all comments →
struct box { int length; int width; int height; };
typedef struct box box;
int get_volume(box b) { return b.length*b.width*b.height; }
int is_lower_than_max_height(box b) { if(b.height<41) return 1; return 0; }
Seems like cookies are disabled on this browser, please enable them to open this website
Boxes through a Tunnel
You are viewing a single comment's thread. Return to all comments →
struct box { int length; int width; int height; };
typedef struct box box;
int get_volume(box b) { return b.length*b.width*b.height; }
int is_lower_than_max_height(box b) { if(b.height<41) return 1; return 0; }