Project #7
Chef Program

Download Project7.zip

       This is known as the End of Days Chocolate Cake. So naturally it spells "DOOM." The way I did this project was to start with a cookable recipe and work backwards to make it print out something coherent and possibly meaningful. At first it seemed impossible to make the recipe cookable and print something, but it turns out that with this recipe it was fairly simple. By converting ingredients from one measurement to another I was able to get the values fairly close to what I wanted. So from there all I had to do was some addition and a little multiplication and I ended up with "DOOM." And the cake is still cookable.
       The only iffy step is where the contents of the bowl are poured twice. However, sometimes when pouring stuff into a baking dish you don't pour everything at once; you pour it a small amount at a time. Believe me, I know; I took home ec.