Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef CUBOID_H
- #define CUBOID_H
- typedef struct
- {
- double l, w, h;
- }Cuboid;
- Cuboid makeCuboid(double length, double height, double width);
- double volume(Cuboid *cuboid);
- double surfaceArea(Cuboid *cuboid);
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement