Click here to Skip to main content
13,247,740 members (59,784 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Now sales team wants to develop a php program which will take input of revenues for 3 years and provide predictions for next year. The logic should be:

Next year Prediction= Current Yr Revenue + (% increase of 2010-2011+% increase of 2011-2012)/2*(Current Yr Revenue)

Write a program for above in php/C++
Posted 19-Dec-12 4:26am
Updated 19-Dec-12 5:03am
joshrduncan2012 19-Dec-12 9:33am
What is your question? What have you attempted so far?
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

Try it yourself, you may find it is not as difficult as you think!
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

No, we won't give you solution.. We can't work out for you like this.. You should try it by yourself.. If you got stuck somewhere, you can certainly come here.. But don't ask directly for code..
-Krunal R.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.171114.1 | Last Updated 19 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100