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
<style> | |
.table { | |
width: 600px; | |
box-sizing: border-box; | |
border: 1px solid #000; | |
} | |
.row { | |
width: 100%; | |
display: flex; | |
flex-direction: row; |
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
package Exercicios; | |
import java.util.Scanner; | |
public class Exerc20 { | |
public static void main(String[] args) { | |
Scanner ler = new Scanner(System.in); | |
String sexo; | |
int idade; | |
int idadeMasc = 0; |
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
package Exercicios; | |
import java.util.Scanner; | |
public class Exerc1 { | |
public static void main(String[] args) { | |
Scanner ler = new Scanner(System.in); | |
int n1; | |
int n2; | |
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
package Exercicios; | |
import java.util.Scanner; | |
public class Exerc2 { | |
public static void main(String[] args) { | |
Scanner ler = new Scanner(System.in); | |
int n; | |
System.out.print("Digite um número: "); |
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
package Exercicios; | |
import java.util.Scanner; | |
public class Exerc3 { | |
public static void main(String[] args) { | |
Scanner ler = new Scanner(System.in); | |
int n; | |
int cont = 0; | |
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
package Exercicios; | |
import java.util.Scanner; | |
public class Exerc4 { | |
public static void main(String[] args) { | |
Scanner ler = new Scanner(System.in); | |
int n; | |
System.out.print("Digite um número: "); |
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
package Exercicios; | |
import java.util.Scanner; | |
public class Exerc5 { | |
public static void main(String[] args) { | |
Scanner ler = new Scanner(System.in); | |
double nt1, nt2, nt3, media; | |
do { |
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
package Exercicios; | |
import java.util.Scanner; | |
public class Exerc6 { | |
public static void main(String[] args) { | |
Scanner ler = new Scanner(System.in); | |
int qtdMacas; | |
do { |
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
package Exercicios; | |
import java.util.Scanner; | |
public class Exerc7 { | |
public static void main(String[] args) { | |
Scanner read = new Scanner(System.in); | |
int a, b, c; | |
System.out.print("Digite o 1º numero: "); |
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
package Exercicios; | |
import java.util.Scanner; | |
public class Exerc8 { | |
public static void main(String[] args) { | |
Scanner ler = new Scanner(System.in); | |
double a, b, c; | |
System.out.print("Digite o valor de A: "); |
OlderNewer