/* Share.c */
#include <stdio.h>

main()
{
  int number_of_people;  /* declare number_of_people as an integer */
  float money;           /* declare money as a float */
  float share;           /* declare share as a float */

  printf("How many people need a share of the money? ");
  scanf("%d", &number_of_people);
  printf("How much money is available to share among the people? $");
  scanf("%f", &money);

  share = money / number_of_people;

  printf("Give each person $%.2f.\n", share); 

  return 0;
}
