Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package ex18;
- import java.util.Scanner;
- public class ex18 {
- public static void main(String[] args) {
- Scanner sc = new Scanner(System.in);
- int n;
- for(n = 100; n >= 1; n--){
- System.out.println(n);
- }
- }
- }
- // imprimir todos numeros de 100 até 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement