![greenhusky](/avatars/13173.jpg)
greenhusky
27.06.2020 •
History
The map shows the territories of the dynasties the ruled china during the middle ages. what can you infer about china during the middle ages based on the map?
A: the chang river connected the northern and southern parts of china during the middle ages.
B: the sui dynasty conquered most of asia continent during the middle ages
C: the song dynasty created the grand canal system in china during the middle ages
D: the tang dynasty was the most successful empire in china during the middle ages
Solved
Show answers
More tips
- H Health and Medicine What to Do If You Are Bitten by a Dog?...
- A Animals and plants How ants survive winter: exploring the secrets of their winter life...
- F Food and Cooking Discover How to Properly Prepare Dough for Rasstegai...
- P Philosophy Unidentified Flying Object - What is the Nature of this Phenomenon?...
- F Family and Home Protect Your Home or Apartment from Pesky Ants...
- O Other What is a Disk Emulsifier and How Does it Work?...
- F Family and Home What does a newborn need?...
- F Family and Home Choosing the Right Car Seat for Your Child: Tips and Recommendations...
- F Food and Cooking How to Get Reconfirmation of Registration?...
- C Computers and Internet How to Get Rid of Spam in ICQ?...
Answers on questions: History
- H History What was the main reason that the government set up by the Articles of Confederation was a disaster?...
- B Biology Which part of roots is involved in the exchange of respiratory gases...
- C Chemistry A critical need of society is one that is: unimportant, urgent, exaggerated, optional...
- M Mathematics Painting Michael Thomas, the manager of a paint store, is mixing paint for a spring sale. There are 32 units of yellow dye, 54 units of brown dye, and an unlimited supply...
- C Chemistry Many enjoys the warm waters of a . GeyserVolcanoHot springFurmaroleTectonic...
Ответ:
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));
}
}