/*
 * hw1p3.c - solution to hw1 problem 3
 *
 */

#include <stdio.h>
#include "simpio.h"


void main()
  {
  int puppets;
  int pirates;

  printf("How many puppets have ye me hardies?\n") ;
  puppets = GetInteger();
  printf("And what number of pirates there be?\n") ;
  pirates = GetInteger();
  printf("%d puppets divided by %d pirates means each pirate gets %d puppets, and the captain gets the %d left over.\n", 
           puppets, pirates, puppets / pirates, puppets % pirates);

  }

