netbeans oracle
Thu Sep 26 2024 03:16:28 GMT+0000 (Coordinated Universal Time)
Saved by
@pipinskie
double Monday = 100;
double Tuesday = 121;
double Wednesday = 117;
double dailyAverage = 0;
double monthlyAverage = 0;
double monthlyProfit = 0;
dailyAverage = (Monday+Tuesday+Wednesday)/3;
monthlyAverage = dailyAverage*30;
monthlyProfit = monthlyAverage*0.18;
System.out.println("Daily Average: " +dailyAverage);
System.out.println("Monthly Average: " +monthlyAverage);
System.out.println("Monthly Profit: $" +monthlyProfit);
content_copyCOPY
Comments