#include <cstdio>
#include "example.h"

int main (int argc, char *argv[]) {
/*This progam must work for floating point numbers and integers.
  Thus all numbers are converted to double precision floating point format.*/
  printf("%%constnumeric(%Lg) PI;\n", (long double)PI);
  printf("%%constnumeric(%Lg) DAY_MONDAY;\n", (long double)DAY_MONDAY);
  printf("%%constnumeric(%Lg) DAY_TUESDAY;\n", (long double)DAY_TUESDAY);
  printf("%%constnumeric(%Lg) DAY_WEDNESDAY;\n", (long double)DAY_WEDNESDAY);
  printf("%%constnumeric(%Lg) DAY_THURSDAY;\n", (long double)DAY_THURSDAY);
  printf("%%constnumeric(%Lg) DAY_FRIDAY;\n", (long double)DAY_FRIDAY);
  printf("%%constnumeric(%Lg) DAY_SATURDAY;\n", (long double)DAY_SATURDAY);
  printf("%%constnumeric(%Lg) DAY_SUNDAY;\n", (long double)DAY_SUNDAY);
  printf("%%constnumeric(%Lg) BLUE;\n", (long double)BLUE);
  printf("%%constnumeric(%Lg) RED;\n", (long double)RED);
  printf("%%constnumeric(%Lg) GREEN;\n", (long double)GREEN);
  printf("%%constnumeric(%Lg) CLB_BLACK;\n", (long double)CLB_BLACK);
  printf("%%constnumeric(%Lg) CLB_BLUE;\n", (long double)CLB_BLUE);
  printf("%%constnumeric(%Lg) CLB_RED;\n", (long double)CLB_RED);
  printf("%%constnumeric(%Lg) CLB_MAGENTA;\n", (long double)CLB_MAGENTA);
  printf("%%constnumeric(%Lg) CLB_GREEN;\n", (long double)CLB_GREEN);
  printf("%%constnumeric(%Lg) CLB_CYAN;\n", (long double)CLB_CYAN);
  printf("%%constnumeric(%Lg) CLB_YELLOW;\n", (long double)CLB_YELLOW);
  printf("%%constnumeric(%Lg) CLB_WHITE;\n", (long double)CLB_WHITE);
  printf("%%constnumeric(%Lg) MTHB_JANUARY;\n", (long double)MTHB_JANUARY);
  printf("%%constnumeric(%Lg) MTHB_FEBRUARY;\n", (long double)MTHB_FEBRUARY);
  printf("%%constnumeric(%Lg) MTHB_MARCH;\n", (long double)MTHB_MARCH);
  printf("%%constnumeric(%Lg) MTHB_APRIL;\n", (long double)MTHB_APRIL);
  printf("%%constnumeric(%Lg) MTHB_MAY;\n", (long double)MTHB_MAY);
  printf("%%constnumeric(%Lg) MTHB_JUNE;\n", (long double)MTHB_JUNE);
  printf("%%constnumeric(%Lg) MTHB_JULY;\n", (long double)MTHB_JULY);
  printf("%%constnumeric(%Lg) MTHB_AUGUST;\n", (long double)MTHB_AUGUST);
  printf("%%constnumeric(%Lg) MTHB_SEPTEMBER;\n", (long double)MTHB_SEPTEMBER);
  printf("%%constnumeric(%Lg) MTHB_OCTOBER;\n", (long double)MTHB_OCTOBER);
  printf("%%constnumeric(%Lg) MTHB_NOVEMBER;\n", (long double)MTHB_NOVEMBER);
  printf("%%constnumeric(%Lg) MTHB_DECEMBER;\n", (long double)MTHB_DECEMBER);
  printf("%%constnumeric(%Lg) MTHB_SPRING;\n", (long double)MTHB_SPRING);
  printf("%%constnumeric(%Lg) MTHB_SUMMER;\n", (long double)MTHB_SUMMER);
  printf("%%constnumeric(%Lg) MTHB_AUTUMN;\n", (long double)MTHB_AUTUMN);
  printf("%%constnumeric(%Lg) MTHB_WINTER;\n", (long double)MTHB_WINTER);
  printf("%%constnumeric(%Lg) Answer::UNIVERSE_AND_EVERYTHING;\n", (long double)Answer::UNIVERSE_AND_EVERYTHING);
  printf("%%constnumeric(%Lg) Answer::SEVENTEEN_AND_FOUR;\n", (long double)Answer::SEVENTEEN_AND_FOUR);
  printf("%%constnumeric(%Lg) Answer::TWOHUNDRED_PERCENT_OF_NOTHING;\n", (long double)Answer::TWOHUNDRED_PERCENT_OF_NOTHING);
  printf("%%constnumeric(%Lg) Answer::Foo::IMPULSE;\n", (long double)Answer::Foo::IMPULSE);
  printf("%%constnumeric(%Lg) Answer::Foo::WARP;\n", (long double)Answer::Foo::WARP);
  printf("%%constnumeric(%Lg) Answer::Foo::HYPER;\n", (long double)Answer::Foo::HYPER);
  printf("%%constnumeric(%Lg) Answer::Foo::LUDICROUS;\n", (long double)Answer::Foo::LUDICROUS);
  return 0;
}
