Skip to content

Instantly share code, notes, and snippets.

@jasongorman
Created May 5, 2019 11:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasongorman/c91477c0061e1325fbc2701eb45ebade to your computer and use it in GitHub Desktop.
Save jasongorman/c91477c0061e1325fbc2701eb45ebade to your computer and use it in GitHub Desktop.
#include "carpet_quote.h"
#include "room.h"
#include "floor_level.h"
#include "bool.h"
int main() {
Room* room = new_room(2.5, 2.5, 'G');
int flights = flightsOfStairs(room);
printf("Ground floor room involves %d flights of stairs\n", flights);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment