Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jogo de adivinha qual número é maior #540

Open
frankstylle opened this issue May 30, 2020 · 1 comment
Open

Jogo de adivinha qual número é maior #540

frankstylle opened this issue May 30, 2020 · 1 comment

Comments

@frankstylle
Copy link

@frankstylle frankstylle commented May 30, 2020

#include <stdio.h>
main (){
int num, num2, menor,maior;
printf("\n----------------------------------");
printf("\n| JOGO DO NÚMERO MAIOR OU MENOR |");
printf("\n----------------------------------");
printf("\n\nDigite o número 1: ");
scanf("%d",&num);
printf("\nDigite o número 2: ");
scanf("%d", &num2);
if (num > num2)
printf("\n\nNumero 1 é Maior que o Número 2");

    if (num < num2)
    printf("\n\nNumero 2 é Maior que o Número 1");
    
    else 
    printf("\n\nOs dois Números são iguais");

return (0);
}

@EkanshMangal
Copy link

@EkanshMangal EkanshMangal commented Jun 6, 2020

Olá, posso resolver esse problema?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.