Last active
April 4, 2024 23:54
-
-
Save catalunha/2b557dc2cd332a77f34dbde8ff63df64 to your computer and use it in GitHub Desktop.
lista01pag01prog01
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
/// lista01pag01prog01 | |
void main() { | |
//Entrada | |
int a = 11; | |
int b = 2; | |
//Solucao | |
int maior; | |
if (a > b) { | |
maior = a; | |
} else { | |
maior = b; | |
} | |
//Saida | |
print('Maior entre $a e $b é $maior'); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sim