Created
January 22, 2018 18:02
-
-
Save steniowagner/929e9a7ab14bbe65fb13636addc73a92 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
main() | |
{ | |
int anos; | |
printf("\nDigite o anos dos casados: "); | |
scanf("%d",&anos); | |
switch(anos){ | |
case 25: | |
printf("\nBodas de Prata!\n"); | |
break; | |
case 50: | |
printf("\nBodas de Ouro!\n"); | |
break; | |
case 75: | |
printf("\nBodas de Diamantes!\n"); | |
break; | |
} | |
return 0; | |
} |
O tipo de retorno, Sorry.
int main()
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Falta o retorno no método
main()