Leggett796
14.07.2019 •
Mathematics
Monique had 6 dollars. she found 25 cents and then bought a book. she ended up with 7 quarters. which expression equals the number of dollars monique spent on the book?
Solved
Show answers
More tips
- O Other What happens if you get scared half to death twice?...
- H Horoscopes, Magic, Divination Where Did Tarot Cards Come From?...
- S Style and Beauty How to Make Your Lips Fuller? Ideas and Tips for Beautiful Lips...
- S Style and Beauty How are artificial nails removed?...
- F Family and Home How to Sew Curtain Tapes: Best Tips from Professionals...
- H Horoscopes, Magic, Divination How to Cast a Love Spell on a Guy? Guide for Guys...
- F Family and Home How to Properly Use a Water Level?...
- L Legal consultation What Documents Are Required for a Russian Passport?...
- H Health and Medicine How to Treat Styes: Causes, Symptoms, and Home Remedies...
- F Family and Home Protect Your Home or Apartment from Pesky Ants...
Answers on questions: Mathematics
- M Mathematics How do you write 40,023,032 in two other forms...
- M Mathematics Arabbit runs 35 miles per hour. select the animals who run at a faster unit rate per hour than the rabbit. mark all that apply a) reindeer: 100 miles in 2 hours b)...
- M Mathematics 15 kecia has only dimes and nickels in her pocket. she has 3 more nickels than dimes. the total value of the coins is $1.50. how many of each coin does kecia have?...
- M Mathematics Water flows from a container at a rate of 2.5 litres per minute . the water flows into a tank that already holds 50 litres. how long in seconds is it before there are...
- M Mathematics Apples are on sale for $1.20. logan buys 3/4 of a pound. how much money did he spend on apples...
- M Mathematics Heather has $500 in her savings account she withdraws $20 per week for gas red and equation header can you sissy how many weeks it will take her to have a balance of...
- M Mathematics Adding& subtracting equations x-10=12...
- M Mathematics Rita ate 1 6 of a pizza. sara ate 2 6 of the pizza and tony ate 1 6 of the pizza. how much of the pizza did the three students eat in all?...
- M Mathematics How many times does 63 go into 100,000...
- M Mathematics It cost $25 to enter in amusement park and $.25 to ride a ride. you have $26. write an equation that represents the number r of ride you can ride....
Ответ:
$6.25-(7x $0.25)
$6.25-$1.75=
Monique spent $4.50 on the book
Ответ:
import java.util.*;
import java.text.*;
class CreditCardBill
{
public static void main(String[] args)
{
Scanner sc = new Scanner(System.in);
NumberFormat defaultFormat = NumberFormat.getCurrencyInstance(Locale.US);
System.out.println("CS Card International Statement");
System.out.println("");
System.out.print("Previous Balance: $");
double prevBalance = sc.nextDouble();
System.out.print("Additional Charges: $");
double addCharges = sc.nextDouble();
double interest;
if(prevBalance == 0)
interest = 0;
else
interest = (prevBalance + addCharges) * 0.02;
System.out.println("Interest: "+defaultFormat.format(interest));
double newBalance = prevBalance + addCharges + interest;
System.out.println("New Balance: "+defaultFormat.format(newBalance));
double minPayment;
if(newBalance < 50)
minPayment = newBalance;
else if(newBalance <= 300)
minPayment = 50.00;
else
minPayment = newBalance * 0.2;
System.out.println("Minimum Payment: "+defaultFormat.format(minPayment));
}
}