import java.util.Scanner;
/**************************************
 *  describe this class here
 *
 * @author - Who are you?
 * @version - V? - date 
 *************************************/
public class CSCard 
{
	/********************************************
	 * main method documentation goes here.  What does
	 * this method do 
	 *
	 * @param args Unused in this application
	 ********************************************/
	public static void main (String args [])
	{
	
		// add any needed constants here
		
		// variables
		Scanner keyboard;
		
		double priorBalance;
		double addtlCharges;
		double interest;
		double newBalance;
		double minPayment;
	
		// add any needed variables here

		
		keyboard = new Scanner(System.in);
		
		System.out.print("Type the balance: ");
		
		// make sure that the number entered is a double
		// and if so read it in.
		// if not, use a default value of zero.  No error message to the user.
							
		System.out.print("\nType the new charge amount: ");
			
				
		// make sure that the number entered is a double
		// and if so read it in.
		// if not, use a default value of zero.  No error message to the user
		
		
		
		// Perform the calculation of interest, new balance and minimum payment
				
							
		// Output the resulting statement (do not change)
		System.out.println("\n\nCS CARD International Statement");
		System.out.println("===============================");
		System.out.printf("Previous balance:   $%,8.2f\n", priorBalance);
		System.out.printf("Additional charges: $%,8.2f\n", addtlCharges);
		System.out.printf("Interest:           $%,8.2f\n\n", interest);
		System.out.printf("New balance:        $%,8.2f\n\n", newBalance);
		System.out.printf("Minimum payment:    $%,8.2f\n", minPayment);
	
	}
}