swagjlove32
26.11.2020 •
Mathematics
What is 35/4 simplified, or as a mixed number
Solved
Show answers
More tips
- C Computers and Internet How to Choose a Laptop: Expert Guide and Tips...
- C Computers and Internet How to Choose a Monitor?...
- 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...
- C Computers and Internet How to Learn to Type Fast?...
- A Art and Culture Who Said The Less We Love a Woman, the More She Likes Us ?...
- F Family and Home How to Get Rid of Your Neighbors?...
- S Society and Politics How Could Nobody Know About the Dead Mountaineers?...
- H Health and Medicine How to Cure Adenoids?...
Answers on questions: Mathematics
- M Mathematics Help! anyone know this answer...
- M Mathematics A manufacturer inspects a sample of 500 smart phones and finds that 496 of them have no defects. The manufacturer sent a shipment of 2000 smartphones to a distributor. Predict the...
- H History An insurance deductible is ... A) the contract fee applied to the monthly premium. B) the monthly premium on an insurance policy. C) the amount you owe before insurance will cover...
- B Biology Force and motion : the change of position over time is...
- E English Write the bare infinitive. fell felt knew learnt met put travelled...
Ответ:
8 3/4
Step-by-step explanation:
Please help me BRAINLEST!
Ответ:
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));
}
}