<mosaic.cnfolio.com>
PROGRAM
  1. #include <stdio.h>
  2. /*START
  3. declare variables for Candies, Pidgies and Evolves
  4. read input for Pidgies and Candies
  5. divide the number of Candies by 11 to get the number of Evolves
  6. IF evolves are greater than pidgies
  7.    display the message "You can evolve [number of Pokemon] pidgies and get [number of pokemon multiplied by 500 multiplied by 2*] exp
  8. ELSE IF Pidgies are greater than Evolves
  9.    display the message "You can evolve [number of Pokemon] pidgies and get [Evolves multiplied by 500 multiplied by 2] exp
  10. ELSE display the message ["Somethings not gone well"]   
  11. END
  12.    */
  13. int main (void)
  14. {
  15.    int Candies, Pidgies, Evolves;
  16.    
  17.    scanf("%d %d", &Pidgies, &Candies );
  18.    Evolves = Candies / 11;
  19.    if ( Evolves > Pidgies )
  20.    printf( "You can evolve %d Pidgies and get %d exp when using a lucky egg", Pidgies, Pidgies * 500 * 2 );
  21.    else if ( Pidgies > Evolves)
  22.    printf ( "You can evolve %d Pidgies and get %d exp when using a lucky egg", Evolves, Evolves * 500 * 2 );
  23.    else
  24.    printf("Somethings not gone well"}