Guest User

Guest User

  • Tech Writer
  • 34
  • 4.9k

Console Application HELP

Feb 18 2014 6:51 AM
Hi everyone
 
need help with this Console Application Please
 
A company has two stores and each made ​​some sales over the first 6 months of a year:
• Ask the user to add the values ​​of two stores per month and present the final result (also the month);
• Remove the VAT of 25% to the results reported by the company.
• Calculate the average of sales over 6 months
• Wait 10 seconds and wipe the screen. Then allow the user to know whether higher sales were made to a certain value in the 2nd store. Should return the appropriate answer (works with logical values​​).
 
output
 
SALES STORE 1
Insert the value of sales for the 1st month: 12000
Insert the value of sales for the 2nd month: 15000
Insert the value of sales for the 3rd month: 18000
Insert the value of sales for the 4th month: 19000
Insert the value of sales for the 5th month: 20000
Insert the value of sales for the 6th month: 22000  
 
 
 
SALES STORE 2
Insert the value of sales for the 1st month: 25000
Insert the value of sales for the 2nd month: 32000
Insert the value of sales for the 3rd month: 27000
Insert the value of sales for the 4th month: 28000
Insert the value of sales for the 5th month: 29000
Insert the value of sales for the 6th month: 30000
 
Company Result
 
1st month  = 37000 € on sales
2nd month = 47000 € on sales
3rd month = 45000 € on sales
4th month = 47000 € on sales
5th month = 49000 € on sales
6th month = 52000 € on sales
 
Company Result  without VAT
 
1st month = 27750 € on sales
2nd month = 35250 € on sales
3rd month = 33750 € on sales
4th month = 35250 € on sales
5th month = 36750 € on sales
6th month = 39000 € on sales
 
               ==> AVERAGE OF THE COMPANY RESULTS WITHOUT VAT = 34625
 
___________________________________________________________
 
Enter the sale value from which you want to search: 20000
Higher or equal to 20,000 2nd store values ​​were found.
 
 
 
 
 
 

Answers (3)