This file contains hidden or 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
import java.util.Scanner; | |
public class PrimeiraQuestao { | |
public static void main(String[] args) { | |
Scanner scanner = new Scanner(System.in); | |
try { | |
System.out.print("Digite o primeiro número: "); | |
int n1 = scanner.nextInt(); | |
System.out.print("Digite o segundo número: "); | |
int n2 = scanner.nextInt(); | |
int resultado = n1 / n2; |
This file contains hidden or 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
[ | |
{ | |
"id": "29995f86e5eca604", | |
"type": "tab", | |
"label": "Fluxo 1", | |
"disabled": false, | |
"info": "", | |
"env": [] | |
}, | |
{ |
OlderNewer