Click here to Skip to main content
15,878,945 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
FMCG-2010-10cr
2011-15cr
Current-20cr
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
Updated 19-Dec-12 4:03am
v2
Comments
joshrduncan2012 19-Dec-12 9:33am    
What is your question? What have you attempted so far?

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!
 
Share this answer
 
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.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900