Skip to content

Instantly share code, notes, and snippets.

View khatchad's full-sized avatar

Raffi Khatchadourian khatchad

View GitHub Profile
@khatchad
khatchad / SoccerTeams.java
Created March 23, 2015 19:37
This program calculates the number of soccer teams that a youth league may create from the number of available players. Input validation is demonstrated with while loops.
import javax.swing.JOptionPane;
/**
This program calculates the number of soccer teams
that a youth league may create from the number of
available players. Input validation is demonstrated
with while loops.
*/
public class SoccerTeams