Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a program thatp ers, and outputs the volume of the and bj de gnast, ne of

ID: 668855 • Letter: W

Question

Write a program thatp ers, and outputs the volume of the and bj de gnast, ne of the oby t youhe bill. grams per cubic centimeters. gra epts as input the mass, in formula: volume = mass t card's unpaid balance is calculated using the that netBa s density. Format your output to two that nert Balance is the balance shown in the bill 8. Interest on a credit n a credit card's unpa uppose that netBalance is balance. Suppose payment made, d of days payment is made e, dl is the number of days in the billing cycle, and d ht is made before billing cycle. Then, the average d averageDaily,Balance = (net Ba balance rate per month is, say, 0.0152, then the interest If the interest tyBalance = (net Balance." dl-payment. d ce is: interest = average DailyBalance* 00152 Write a program that accepts as input net Balance, payment, d1 rate per month. The program outputs the interest. Format yo decimal places. Linda is starting a new cosmetic and clothing business an make a net profit ofapproximately 10% after paying all the include merchandise cost, store rent, employees' salary, an for the store. She would like to know how much the merc marked up so that after paying all the expenses at the endo pproximately 10% net profit on the merchandise cost marking up the price of an item she would like to put the rite a program that prompts Linda to enter the total cos e, the salary of the employees (including her own salary d the estimated electricity cost, T h jon.ed elthe rchandise cha 1

Explanation / Answer

// Declare Variable Inputstr1,inputstr,volume,density and mass

And Run That

{

inputstr=Joptionpane.showInputDialog("Enter Mass in Gram");

mass=Integer.parseInt(inputstr);

inputstr1=Joptionpane.showInputDialog("Enter Density in Grams");

density=Integer.parseInt(inputstr1);

volume=mass/density;

outputstr="Volume in Grams="+volume;

Joptionpane.showMessageDialog(null,outputstr,"Volume is=",JoptionMessgae.Information_message);

}

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote