Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- void loop (int numero_batalhas, int i)
- {
- if (numero_batalhas == i)
- {
- return;
- }
- else
- {
- int vida_clodes, vida_bezaliel, dano_clodes, dano_bezaliel;
- scanf("%d%d%d%d", &vida_clodes, &vida_bezaliel, &dano_clodes, &dano_bezaliel);
- if (vida_clodes == 0)
- {
- printf("Bezaliel\n");
- }
- else if ()
- {
- printf("Clodes\n");
- }
- }
- return loop (numero_batalhas, i + 1);
- }
- int main()
- {
- int numero_batalhas, i;
- scanf("%d", &numero_batalhas);
- loop (numero_batalhas, 0);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement