import java.util.*;
import java.lang.*;
import java.io.*;
//Exercicio 1
/* class Main {
public static void main(String[] args){
Scanner t = new Scanner (System.in);
int quant;
System.out.print("Quantos produtos você comprou? ");
quant = t.nextInt();
if(quant<20){
System.out.print(" Vocẽ não tem direito à promoção");}
else{
System.out.print(" Você tem direito à promoção");}
t.close();
}
} */
//Exercicio 2
/* class Main {
public static void main(String[] args) {
Scanner t = new Scanner (System.in);
int n1, n2, resp;
System.out.println("Digite os números");
n1 = t.nextInt();
n2 = t.nextInt();
resp = n2 + n1;
if(resp%2==0){
System.out.println("EVEN");}
else{
System.out.print("ODD");}
t.close();
}
} */
//Exercicio 4
class Main {
public static void main(String[] args) {
Scanner t = new Scanner (System.in);
double vc, vb, sm, rp;
System.out.println("Digite os valores");
vc = t.nextDouble;
vb = t.nextDouble;
sm = vc + vb;
rp = sm + (sm * 0.1);
if()
//Exercicio 6
/* class Main {
public static void main(String[] args){
Scanner t = new Scanner (System.in);
Double vf, vc;
System.out.printf("Digite a temperatura em fahreinheit!");
vf = t.nextDouble();
vc = ((vf - 32) * 5 / 9) ;
if (vc >= 1){
System.out.printf("A temperatura está boa! São %.2f\n");}
else{
System.out.printf("Está começando a ficar frio!");}
t.close();
}
} */
/* //Exercicio 7
class Main {
public static void main(String[] args) {
Scanner t = new Scanner (System.in);
int numero;
System.out.print("Digite o número ");
if (numero>0){
System.out.print("Esse número é positivo");}
else{
System.out.print("Esse número é negativo");}
}
} */
To embed this project on your website, copy the following code and paste it into your website's HTML: