package p024;

import java.io.*;

public class p0224 {

       public static void main(String[] args)throws IOException {

             // TODO Auto-generated method stub

             int P=0;

             System.out.println("ingrese su promedio");

             BufferedReader P1=new BufferedReader (new InputStreamReader(System.in));

             P=Integer.parseInt(P1.readLine());

             if(P>6)

             {

                    System.out.println("aprobado");

             }

             else

             {

            

                    System.out.println("reprobado");

             }

       }

 

 

package vaquerita;

import java.io.BufferedReader;

import java.io.InputStreamReader;

import java.io.*;

public class vaquerita {

       public static void main(String[] args) throws IOException {

             // TODO Auto-generated method stub

             int P=0;

             double T=0;

             double a=0;

             System.out.print("Ingrese el precio");

             BufferedReader P1=new BufferedReader (new InputStreamReader (System.in));

             P=Integer.parseInt(P1.readLine());

             if (P<1500);

             {

                    T=P*0.11;

                    a=T+P;

                    System.out.println("Precio:  " +a);

             }

       }

}

 

 

      } package OtroPractica24;

import java.util.Scanner;

public class main0224 {

      public static void main(String[] args) {

            // TODO Auto-generated method stub

            Scanner sc = new Scanner(System.in);

            int P;

            System.out.println("Introduzca promedio");

            P = sc.nextInt();

            if

            (P>=6)

            {

                  System.out.println("Aprobado");

            }

            else

            {

                  System.out.println("Reprobado");

            }

                 

            }