Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- package primeiraaplicacao;
- import java.util.Scanner;
- /**
- *
- * @author Nobody
- */
- public class PrimeiraAplicacao {
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- /* 1. Faça um programa que exiba na tela todos os
- múltiplos de 7 entre os números de 1 a 100 em ordem decrescente.*/
- Scanner input = new Scanner( System.in );
- int x, y, z, result;
- System.out.print("Primeiro número");
- x = input.nextInt();
- System.out.print("seg número");
- y = input.nextInt();
- System.out.print("ter número");
- z = input.nextInt();
- System.out.println(x+y+z);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement