Skip to content

Instantly share code, notes, and snippets.

@eminetto
Created June 21, 2013 14:32
Show Gist options
  • Select an option

  • Save eminetto/5831569 to your computer and use it in GitHub Desktop.

Select an option

Save eminetto/5831569 to your computer and use it in GitHub Desktop.
#include<stdio.h>
#include<conio.h>
main() {
int pP;
printf("Digite o peso dos peixes\n");
scanf("%d",&pP);
if(pP > 50){
clrscr();
int E;
E=pP-50;
int M=E*4;
printf("Voce tera que pagar %d",M);
}
else{
clrscr();
printf("\nMuito bem entao, nenhum exesso hoje Joao");
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment