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 pkg2.pkg1;
- import java.util.Scanner;
- public class Main {
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- // TODO code application logic here
- double calificacion;
- Scanner t = new Scanner(System.in);
- System.out.print("Calificacion: ");
- calificacion=t.nextDouble();
- if(calificacion>=7)
- System.out.println("VETE");
- else
- System.out.println("QUEDATΓ");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement