其他语言

本类阅读TOP10

·基于Solaris 开发环境的整体构思
·使用AutoMake轻松生成Makefile
·BCB数据库图像保存技术
·GNU中的Makefile
·射频芯片nRF401天线设计的分析
·iframe 的自适应高度
·BCB之Socket通信
·软件企业如何实施CMM
·入门系列--OpenGL最简单的入门
·WIN95中日志钩子(JournalRecord Hook)的使用

分类导航
VC语言Delphi
VB语言ASP
PerlJava
Script数据库
其他语言游戏开发
文件格式网站制作
软件工程.NET开发
homework1

作者:未知 来源:月光软件站 加入时间:2005-2-28 月光软件站

ABC bakeries is trying to predict it's cookie ingredient ordering needs more precisely.  After years of baking cookies, the following formula holds true:
1000 cookies require 500kg of flour, 100kg of sugar, and 100 eggs.
 
However, ABC has discoverd that once the order is larger than 2000 cookies, then the recipe changes:
2000 cookies requires 1100kg of flour, 230kg of sugar, and 250 eggs.
 
The recipe ratios stays constant after that.
 

Further, ABC bakeries have observed that cookie orders for every month, after the month of January, grow 5% month over month.
 
ABC bakeries have decided that they will use a guess for how many cookies they will sell in January as the basis for predicting their ingredient needs for the rest of the year.
 
You are to write software that will:
 
- Take as input a guess of how many cookies ABC bakeries will sell in January
 
- Predict for them how many cookies they will sell and how much flour, sugar, and egss they will need for each month until December.  Also predict the total.



相关文章

相关软件