#include <stdio.h>

int main()
{
  double amount;
  printf("how much money do you have?\n");
  scanf("%lf", &amount);

  if (amount <= 1.0)
  {
    printf("you cannot buy anything with that money\n");
  }
  else if (amount <= 10.0)
  {
    printf("you can buy candy with that money\n");
  }
  else if (amount <= 80.0)
  {
    printf("you can buy books with that money\n");
  }
  else if (amount <= 300.0)
  {
    printf("you can buy a digital camera with that money\n");
  }
  else 
  {
    printf("you can buy a computer with that money\n");
  }
}

