Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0"?>
<map proto="1.3.0">
<include src="tutorial.xml"/>
<include src="blitz-global.xml"/>
<name>Plus Side</name>
<version>1.4.5</version>
<objective>Defeat all of the opposing teams within 8 minutes!</objective>
<authors>
<author uuid="8053ed38-89d9-4096-b265-a0fcce3a1c33" contribution="Main Design, Building"/> <!-- JETUB1 -->
<author uuid="1e3b1b79-307a-4093-aaeb-21b2fd419336" contribution="XML Writing, Suggestions"/> <!-- BlockDrop74 -->
@SungMatt
SungMatt / Coins.java
Created May 20, 2015 12:04
Counts Coins!
import java.util.Scanner;
class Coins {
public static void main(String args[]) {
int dollarCoin = 0, fiftyCoin = 0, twentyCoin = 0, tenCoin = 0, fiveCoin = 0;
double currentTotal = 0;
start: for (int coinCount = 0; coinCount > 0; coinCount++){
System.out.println("Type j for a dollar, k for 50 cents, l for 20, n for 10, m for 5");
Scanner scan = new Scanner(System.in);
String name; name = scan.next();