The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 398 Weeks Ago, 3 Days Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
a. Write a Java class that declares a named constant that represents next year’s anticipated 10 percent increase in sales for each division of a company. (You can represent 10 percent as 0.10.) Also declare variables to represent this year’s sales total in dollars for the North and South divisions. Assign appropriate values to the variables—for example, 4000 and 5500. Compute and display, with explanatory text, next year’s projected sales for each division. Save the class as ProjectedSales.java.
b. Convert the ProjectedSales class to an interactive application. Instead of assigning values to the North and South current year sales variables, accept them from the user as input. Save the revised class as ProjectedSalesInteractive.java.
Hel-----------lo -----------Sir-----------/Ma-----------dam----------- Â----------- Th-----------ank----------- Yo-----------u f-----------or -----------usi-----------ng -----------our----------- we-----------bsi-----------te -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill-----------