Home > Back-end >  How do you write for bosses to see this code
How do you write for bosses to see this code

Time:09-20

CodePudding user response:

I am a blunt points to:
Public static void main (String [] args) {
Int t=245 * 2;//T-shirt prices
Int WQX=570;//tennis shoes price
Int WQP=320;//tennis racket prices
Int sumMoney=t + WQX + WQP;//payables
Double disMoney=sumMoney * 0.8;//total amount multiplied by 0.8=eighty percent
System. The out. Println (" discount: 8 fold ");
System. The out. Println (" amounting: "+ disMoney);//
System. The out. Println (" actual payment: 1500 ");
System. The out. Println (" change: "+ (1500 - disMoney));//to expend amount subtractive payable amount
This shopping System. Out. Println (" winning points is: "+ String. The format (" %. 0 f", (disMoney/100 * 3)));
}

CodePudding user response:


This is the result of what you want. Remember to stick a sout on all of the bad this is a lovely should understand

CodePudding user response:

The correct amount there didn't copy you change defined above

CodePudding user response:

ollie

CodePudding user response:

How can I not oh force to
  • Related