This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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 --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); |