Skip to content

Instantly share code, notes, and snippets.

@jasongorman
Created Mar 25, 2019
Embed
What would you like to do?
#ifndef ENCAPSULATION_CARPET_H
#define ENCAPSULATION_CARPET_H
#include "bool.h"
struct Carpet {
float pricePerSqrMetre;
boolean roundUp;
};
float price(const struct Carpet *carpet, float area);
#endif //ENCAPSULATION_CARPET_H
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment