Ejercicios, Java (Netbeans)..

download Ejercicios, Java (Netbeans)..

of 9

Transcript of Ejercicios, Java (Netbeans)..

  • 7/31/2019 Ejercicios, Java (Netbeans)..

    1/9

    Anuncios Google

    Como Programar En Java

    NetBeans

    Que ES Java

    Compartido por

    IdentificarmeIdentificarme

    http://www.taringa.net/login?redirect=%2Fposts%2Finfo%2F9734313%2FEjercicios_-Java-_Netbeans____2.htmlhttp://www.taringa.net/registrohttp://www.taringa.net/elemental5http://www.taringa.net/HADarkhttp://www.taringa.net/sebastian1818http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-5717128494977839&output=html&h=90&slotname=7351203807&w=200&lmt=1349927636&flash=11.4.31&url=http%3A%2F%2Fwww.taringa.net%2Fposts%2Finfo%2F9734313%2FEjercicios_-Java-_Netbeans____2.html&dt=1349916836552&bpp=6&shv=r20121008&jsv=r20110914&prev_slotnames=0536577215&correlator=1349916836531&frm=20&adk=3522335639&ga_vid=1852726116.1348795799&ga_sid=1349916835&ga_hid=1508677275&ga_fc=1&u_tz=-180&u_his=1&u_java=1&u_h=768&u_w=1366&u_ah=740&u_aw=1366&u_cd=32&u_nplug=17&u_nmime=28&dff=helvetica&dfs=11&adx=853&ady=761&biw=1227&bih=596&oid=3&ref=http%3A%2F%2Fwww.google.com.ar%2Furl%3Fsa%3Dt%26rct%3Dj%26q%3D%26esrc%3Ds%26source%3Dweb%26cd%3D2%26ved%3D0CCUQFjAB%26url%3Dhttp%253A%252F%252Fwww.taringa.net%252Fposts%252Finfo%252F9734313%252FEjercicios_-Java-_Netbeans____2.html%26ei%3Dlxh2UOmRDImy8AShyYDQBQ%26usg%3DAFQjCNH9p1aUiY91G8Khf4q46j4njqAdnQ%26sig2%3DvOOh-_yXGMYGONIHRXzeRw%26cad%3Drja&fu=0&ifi=7&dtd=153&xpc=avCp2I9Hlw&p=http%3A//www.taringa.net&rl_rc=true&adsense_enabled=true&ad_type=text&ui=rc:0&oe=UTF8&height=90&width=200&format=fp_al_lp&kw_type=radlink&prev_fmts=200x90_0ads_al&rt=ChBQdhifAAW3Xgo6wwWyAD9pEgtRdWUgRVMgSmF2YRoI2CQwgiMR8O8oATACUhMI9LXWieD3sgIV5VE6Ch3mJgCE&hl=es&kw0=Como+Programar+En+Java&kw1=NetBeans&kw2=Que+ES+Java&okw=Que+ES+Javahttp://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-5717128494977839&output=html&h=90&slotname=7351203807&w=200&lmt=1349927636&flash=11.4.31&url=http%3A%2F%2Fwww.taringa.net%2Fposts%2Finfo%2F9734313%2FEjercicios_-Java-_Netbeans____2.html&dt=1349916836552&bpp=6&shv=r20121008&jsv=r20110914&prev_slotnames=0536577215&correlator=1349916836531&frm=20&adk=3522335639&ga_vid=1852726116.1348795799&ga_sid=1349916835&ga_hid=1508677275&ga_fc=1&u_tz=-180&u_his=1&u_java=1&u_h=768&u_w=1366&u_ah=740&u_aw=1366&u_cd=32&u_nplug=17&u_nmime=28&dff=helvetica&dfs=11&adx=853&ady=761&biw=1227&bih=596&oid=3&ref=http%3A%2F%2Fwww.google.com.ar%2Furl%3Fsa%3Dt%26rct%3Dj%26q%3D%26esrc%3Ds%26source%3Dweb%26cd%3D2%26ved%3D0CCUQFjAB%26url%3Dhttp%253A%252F%252Fwww.taringa.net%252Fposts%252Finfo%252F9734313%252FEjercicios_-Java-_Netbeans____2.html%26ei%3Dlxh2UOmRDImy8AShyYDQBQ%26usg%3DAFQjCNH9p1aUiY91G8Khf4q46j4njqAdnQ%26sig2%3DvOOh-_yXGMYGONIHRXzeRw%26cad%3Drja&fu=0&ifi=7&dtd=153&xpc=avCp2I9Hlw&p=http%3A//www.taringa.net&rl_rc=true&adsense_enabled=true&ad_type=text&ui=rc:0&oe=UTF8&height=90&width=200&format=fp_al_lp&kw_type=radlink&prev_fmts=200x90_0ads_al&rt=ChBQdhifAAW3WQo6wwWyAD9pEghOZXRCZWFucxoInmZRMHX4Q8woATACUhMI9LXWieD3sgIV5VE6Ch3mJgCE&hl=es&kw0=Como+Programar+En+Java&kw1=NetBeans&kw2=Que+ES+Java&okw=NetBeanshttp://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-5717128494977839&output=html&h=90&slotname=7351203807&w=200&lmt=1349927636&flash=11.4.31&url=http%3A%2F%2Fwww.taringa.net%2Fposts%2Finfo%2F9734313%2FEjercicios_-Java-_Netbeans____2.html&dt=1349916836552&bpp=6&shv=r20121008&jsv=r20110914&prev_slotnames=0536577215&correlator=1349916836531&frm=20&adk=3522335639&ga_vid=1852726116.1348795799&ga_sid=1349916835&ga_hid=1508677275&ga_fc=1&u_tz=-180&u_his=1&u_java=1&u_h=768&u_w=1366&u_ah=740&u_aw=1366&u_cd=32&u_nplug=17&u_nmime=28&dff=helvetica&dfs=11&adx=853&ady=761&biw=1227&bih=596&oid=3&ref=http%3A%2F%2Fwww.google.com.ar%2Furl%3Fsa%3Dt%26rct%3Dj%26q%3D%26esrc%3Ds%26source%3Dweb%26cd%3D2%26ved%3D0CCUQFjAB%26url%3Dhttp%253A%252F%252Fwww.taringa.net%252Fposts%252Finfo%252F9734313%252FEjercicios_-Java-_Netbeans____2.html%26ei%3Dlxh2UOmRDImy8AShyYDQBQ%26usg%3DAFQjCNH9p1aUiY91G8Khf4q46j4njqAdnQ%26sig2%3DvOOh-_yXGMYGONIHRXzeRw%26cad%3Drja&fu=0&ifi=7&dtd=153&xpc=avCp2I9Hlw&p=http%3A//www.taringa.net&rl_rc=true&adsense_enabled=true&ad_type=text&ui=rc:0&oe=UTF8&height=90&width=200&format=fp_al_lp&kw_type=radlink&prev_fmts=200x90_0ads_al&rt=ChBQdhifAAW3Qwo6wwWyAD9pEhZDb21vIFByb2dyYW1hciBFbiBKYXZhGggTtwKJDdrEdSgBMAJSEwj0tdaJ4PeyAhXlUToKHeYmAIQ&hl=es&kw0=Como+Programar+En+Java&kw1=NetBeans&kw2=Que+ES+Java&okw=Como+Programar+En+Javahttps://www.google.com/adsense/support/bin/request.py?contact=abg_afc&url=http://www.taringa.net/posts/info/9734313/Ejercicios_-Java-_Netbeans____2.html&hl=es&client=ca-pub-5717128494977839&rad0=Como+Programar+En+Java&rad1=NetBeans&rad2=Que+ES+Javahttp://www.taringa.net/tags/submarino%20amarillo;http://www.taringa.net/tags/practico%202http://www.taringa.net/tags/netbeanshttp://www.taringa.net/tags/ejercicioshttp://www.taringa.net/tags/javahttp://googleads.g.doubleclick.net/aclk?sa=l&ai=CKNzBnxh2UKGaKIy0sQfdwoGQBqH427gC-dr5xTXAjbcBEAEgn4jOElDTu57u_f____8BYKHwhoBYoAGJtvfrA8gBAuACAKgDAcgDnQSqBKwBT9CQKQ434GE0R2vNdPDwWH7_pDbYbJCXU6SrJrfBPvfc7OiDeOQixsVaDorBjEIGsj-2OewAbjmROsOM4xSDTyvhgKiGSQlsVpDsLdfp5_HMxTDPv6NgRtGkRR6RgrwmlKBlY7nJYTSRgQm1fm_B8cEtNbmJ1KjrF6Y8Ld6mxLjCaL4DZdf0nOp3G8u9DLSqJpHwdoPMVswE_Z14krulSIgik6qAuqeu1lbIt-AEAaAGAg&num=1&sig=AOD64_2Efe3dcAtzwx758BD5sBEelTzpWA&client=ca-pub-5717128494977839&adurl=http://theleesshop.comhttp://www.taringa.net/NISHOBAChttp://www.taringa.net/NISHOBAC/postshttp://www.taringa.net/NISHOBAC/seguidoreshttp://www.taringa.net/NISHOBAChttp://www.taringa.net/NISHOBAChttp://twitter.com/search?q=http%3A%2F%2Fwww.taringa.net%2Fposts%2Finfo%2F9734313%2FEjercicios_-Java-_Netbeans____2.htmlhttps://twitter.com/intent/tweet?original_referer=http%3A%2F%2Fwww.taringa.net%2Fposts%2Finfo%2F9734313%2FEjercicios_-Java-_Netbeans____2.html&source=tweetbutton&text=Ejercicios%2C%20Java%20(Netbeans)...2%20-&url=http%3A%2F%2Fwww.taringa.net%2Fposts%2Finfo%2F9734313%2FEjercicios_-Java-_Netbeans____2.html&via=Taringahttp://www.taringa.net/posts/infohttp://www.taringa.net/next.php?id=9734313http://www.taringa.net/rand.phphttp://www.taringa.net/prev.php?id=9734313http://www.taringa.net/tophttp://www.taringa.net/juegoshttp://www.taringa.net/musica/http://www.taringa.net/comunidadeshttp://www.taringa.net/http://www.taringa.net/mihttp://www.taringa.net/http://www.taringa.net/paramhttp://www.taringa.net/authorhttp://googleads.g.doubleclick.net/aclk?sa=l&ai=ClvR7nRh2ULG8O9Lh6gGG4YCQD8Pe5LgCy4nFqT_AjbcBEAEgn4jOElCJ6cRnYKHwhoBYoAH9j8fkA8gBAakCxP068DB7jD6oAwGqBJkBT9DV1cI83oFTntdbEEidSD7EtJwQP3sACIlxZVPSkc0KVzs2lmirMeXsUq9GNbO5nTHFj7VoOU0IihGyXjm6rO9CMJEPLM_8UrDmlSyglSJPZJgv9BKQPtKdgPAGz3N1-UiNKw_SEnEyRNYprfSzztSqQOYUqlv67e4ybnFrqdaPVUFiM8dF37JAw47JJzyCYd_00JMtcLQV&num=1&sig=AOD64_1isTnLhZkjR6pauKgtsrRhABDiyA&client=ca-pub-5717128494977839&adurl=http://landings.igdigital.com/newsletter-ig-rnd06http://googleads.g.doubleclick.net/aclk?sa=l&ai=ClvR7nRh2ULG8O9Lh6gGG4YCQD8Pe5LgCy4nFqT_AjbcBEAEgn4jOElCJ6cRnYKHwhoBYoAH9j8fkA8gBAakCxP068DB7jD6oAwGqBJkBT9DV1cI83oFTntdbEEidSD7EtJwQP3sACIlxZVPSkc0KVzs2lmirMeXsUq9GNbO5nTHFj7VoOU0IihGyXjm6rO9CMJEPLM_8UrDmlSyglSJPZJgv9BKQPtKdgPAGz3N1-UiNKw_SEnEyRNYprfSzztSqQOYUqlv67e4ybnFrqdaPVUFiM8dF37JAw47JJzyCYd_00JMtcLQV&num=1&sig=AOD64_1isTnLhZkjR6pauKgtsrRhABDiyA&client=ca-pub-5717128494977839&adurl=http://landings.igdigital.com/newsletter-ig-rnd06http://www.google.com/url?ct=abg&q=https://www.google.com/adsense/support/bin/request.py%3Fcontact%3Dabg_afc%26url%3Dhttp://www.taringa.net/posts/info/9734313/Ejercicios_-Java-_Netbeans____2.html%26gl%3DAR%26hl%3Des%26client%3Dca-pub-5717128494977839%26ai0%3DClvR7nRh2ULG8O9Lh6gGG4YCQD8Pe5LgCy4nFqT_AjbcBEAEgn4jOElCJ6cRnYKHwhoBYoAH9j8fkA8gBAakCxP068DB7jD6oAwGqBJkBT9DV1cI83oFTntdbEEidSD7EtJwQP3sACIlxZVPSkc0KVzs2lmirMeXsUq9GNbO5nTHFj7VoOU0IihGyXjm6rO9CMJEPLM_8UrDmlSyglSJPZJgv9BKQPtKdgPAGz3N1-UiNKw_SEnEyRNYprfSzztSqQOYUqlv67e4ybnFrqdaPVUFiM8dF37JAw47JJzyCYd_00JMtcLQV&usg=AFQjCNELBskECgQ3q73xIz1LECMyR6H-8Ahttp://www.taringa.net/destacados/http://www.taringa.net/posts/novatoshttp://www.taringa.net/
  • 7/31/2019 Ejercicios, Java (Netbeans)..

    2/9

    /**

    *

    * @authoresehmsdorf

    */

    public class Main {

    /**

    * @param args the command line arguments

    */

    public static void main(String[] args)

    {double lt; //largo del terreno

    double at; //ancho del terreno

    double ac; //area de las viviendas en total

    System.out.println("ingrese el largo del terreno" ;

    lt = TecladoIn.readLineDouble();

    System.out.println("ingrese el ancho del terreno" ;

    at = TecladoIn.readLineDouble();

    System.out.println("ingrese el area de las viviendas (en total) " ;

    ac = TecladoIn.readLineDouble();

    double a = (at) * (lt); //calculamos el area total del terreno

    double al = (a) - (ac); //calculamos el area libre de viviendas

    System.out.println("el valor de area de patios es "+(al));

    }

    }

    EJERCICIO 3

    Intercambiar los valores almacenados en dos variables

    package ejersicio1dolar;

    /**

    *

    * @authorFACUNDO

    */

    public class Ejersicio1dolar {

    /**

    * @param args the command line arguments

    */

    public static void main(String[] args){

    double x = 15;

    double y = 30;

    System.out.println("introduzca el valor de x" ;

    x = TecladoIn.readLineDouble();

    System.out.println("introduzca el valor de y" ;

    y = TecladoIn.readLineDouble();

    double z = x;

    x = y;

    y = z;

    http://www.taringa.net/paramhttp://www.taringa.net/authorhttp://www.taringa.net/paramhttp://www.taringa.net/author
  • 7/31/2019 Ejercicios, Java (Netbeans)..

    3/9

    System.out.println("el valor de x es = "+x);

    System.out.print("el valor de y es = "+y);

    }

    }

    EJERCICIO 4

    La cinta asfltica de una avenida tiene un ancho de 25 metros. En cada lateral se

    reserva un 15 % para la construccin de veredas y un 4 % en el centro para

    divisin entre carriles. Calcular la el ancho total de la avenida.

    Considerando que el Ancho de la avenida, el porcentaje para construccin de

    veredas y el porcentaje para divisin de carriles son variables, disee un algoritmo

    y realice su implementacin en Java que permitan calcular el ancho total de la

    avenida.

    /*

    * To change this template, choose Tools | Templates

    * and open the template in the editor.

    */

    package ejercicio4afalto;

    /**

    *

    * @authoresehmsdorf

    */

    public class Main {

    public static void main(String[] args)

    {

    double aa ;

    double lporcentaje;

    double dporcentaje;

    System.out.println("ingrese el ancho del asfalto de la avenida " ;

    aa = TecladoIn.readLineDouble();

    System.out.println("ingrese el porcentaje ocupado por los laterales de veredas " ;

    lporcentaje = TecladoIn.readLineDouble();

    System.out.println("ingrese el porcentaje ocupado los carriles en el centro de la carretera " ;

    dporcentaje = TecladoIn.readLineDouble();

    double l = (aa*lporcentaje)/(100);

    double d = (aa*dporcentaje)/(100);

    double aav = aa+l+d;System.out.println("el ancho total de la avenida es "+aav+"metros" ;

    EJERCICIO 5

    Para preparar 4 pizzas se coloca 1000 gr de harina en un bols, se agrega 200ml de

    agua tibia con levadura, se amasa y se deja leudar. Luego se agrega agua hasta

    que la cantidad de ml de agua sea igual a 50 % de los gramos de harina, qu

    cantidad de agua se debe agregar en la segunda oportunidad?

    Disee un algoritmo e implemente en Java un programa que resuelva el problema

    para cualquier cantidad de pizzas

    package ejercicio5pizzas;

    http://www.taringa.net/author
  • 7/31/2019 Ejercicios, Java (Netbeans)..

    4/9

    /**

    *

    * @authorFACUNDO

    */

    public class Ejercicio5pizzas {

    /**

    * @param args the command line arguments

    */

    public static void main(String[] args)

    {double cp; // cp = cantidad de pizzas

    System.out.println("ingrese la cantidad de pizzas que desea hacer " ;

    cp = TecladoIn.readLineDouble();

    double a = cp*(50);

    double h = cp*(250); //h es la cantidad de harina

    double ados = (h/2)-a; //agua en la seugunda oportunidad

    System.out.println("la cantidad de agua que debe ingresar es "+ados);

    }

    }

    EJERCICIO 6

    Calcular la altura del paquete del chocolate Toblerone considerando que el rea del

    rectngulo que tiene impreso su nombre es 20cm2 , su largo es 11 cm y el

    tringulo que conforma el paquete (caja) es equiltero.

    Disee un algoritmo para obtener la altura del paquete de chocolate, si el largo y el

    rea del rectngulo es variable.

    package ejersicio6toblerone;

    /**

    *

    * @authorFACUNDO

    */

    public cla ss Ejersicio6toblerone {

    /**

    * @param args the command line arguments

    */

    public static void main(String[] args)

    {

    double area ;

    double largo;

    System.out.println("ingrese el valor del area " ;

    area = TecladoIn.readLineDouble();

    System.out.println("ingrese el largo de la barra " ;

    largo = TecladoIn.readLineDouble();

    double alto=(area) / (largo);

    double a = alto;

    double h = Math.sqrt(((a*a))-((0.5*a)*(0.5*a)));

    System.out.println("el valor de la altura de la tabla de chocolate es de "+h);

    }

    }

    }

    http://www.taringa.net/paramhttp://www.taringa.net/authorhttp://www.taringa.net/paramhttp://www.taringa.net/author
  • 7/31/2019 Ejercicios, Java (Netbeans)..

    5/9

    }

    EJERCICIO 7

    Las lneas rectas pueden ser expresadas a partir de una funcin afn

    (ecuacin del tipo y = a x + b, donde a y b son dos valores fijos). Dados dos puntos

    en el plano disear un algoritmo que calcule la pendiente (a) y la ordenada al

    origen (b) de la ecuacin de la recta que pasa por ellos y la pendiente de sus

    perpendiculares.

    Realizar traza para una recta que pasa por P1(1,1) y P2(3,3).

    package ejercicio7practico2;

    /**

    *

    * @authorFACUNDO

    */

    public class Ejercicio7practico2

    {

    public static void main(String[] args)

    {

    double y1;

    double x1;

    double y2;

    double x2;

    System.out.println("ingrese el punto 1, valor y " ; //introducimos el primer valor del primer punto

    y1 = TecladoIn.readLineDouble();

    System.out.println("ingrese e l punto 1, valor x " ; //introducimos el segundo valor del primer punto

    x1 = TecladoIn.readLineDouble();

    System.out.println("ingrese e l punto 2, valor y " ; //introducimos el pimer valor del segundo punto

    y2 = TecladoIn.readLineDouble();

    System.out.println("ingrese e l punto 2, valor x " ; //introducimos el segundo valor del segundo punto

    x2 = TecladoIn.readLineDouble();

    double a = ((y1)-(y2))/((x1)-(x2));

    double b = (y1)-((a)*(x1));

    System.out.println("el valor de a es "+a+" y el valor de b es "+b);

    }

    }

    EJERCICIO 8

    Dadas dos horas de un mismo da expresadas en horas, minutos y segundos,

    calcular la diferencia de tiempo entre ellas, expresada en horas, minutos y

    segundos.

    a) Convertir una hora ex presada en horas, minutos y segundos a segundos.

    b) Convertir una hora expresada en segundos a horas, minutos y segundos.

    c) Dados dos horas de un mismo da expresadas en horas, minutos y segundos,

    calcular la diferencia de tiempo entre ellas, expresada en horas, minutos y

    segundos. Por ejemplo: 16:41:39 - 6:49:59 =9:51:40.

    http://www.taringa.net/author
  • 7/31/2019 Ejercicios, Java (Netbeans)..

    6/9

    package ejercicio8practico2;

    /**

    *

    * @authorFACUNDO

    */

    public class Ejercicio8practico2 {

    /**

    * @param args the command line arguments*/

    public static void main(String[] args)

    {

    int h; //h es la hora

    int m; //m es minutos total

    int s; //introduzca los segundos

    //INCISO A

    System.out.println("introduzca la hora " ;

    h = TecladoIn.readLineInt();

    System.out.println("introduzca los minutos " ;

    m = TecladoIn.readLineInt();

    System.out.println("introduzca los segundos " ;

    s = TecladoIn.readLineInt();

    double st = (h*3600)+(m*60)+s; //donde st es la cantidad de segundos total

    System.out.println("ela cantidad de segundos total de la hora son "+st);

    //INCISO B

    //1 hora = 3600 segundos

    //1 minuto = 60 segundos

    int ht = (int) (st/3600); //ht es la hora

    int mt = (int) ((st-(ht*3600))/60); //mt son los minutos

    int stt = (int) ((int) st-((ht*3600))-((mt*60))); //ahora restamos los segundos en total..

    //me nos los segundos de "la hora" y los segundos de "los minutos" y nos dara los "segundos"

    System.out.println("partiendo de solo segundos, la hora total seria "+ht+":"+mt+":"+stt);

    //INCISO C

    int h2;

    int m2;

    int s2;

    System.out.println("introduzca el valor de la segunda hora " ;

    h2 = TecladoIn.readLineInt();

    System.out.println("introduzca el valor de los minutos (otros) " ;

    m2 = TecladoIn.readLineInt();

    System.out.println("introduzca el valor de los segundos (otros) " ;

    s2 = TecladoIn.readLineInt();

    int h3 = h-h2;

    int m3 = m-m2;

    int s3 = s-s2;

    System.out.println("el valor de la hora restada es = "+h3+":"+m3+":"+s3);

    }

    http://www.taringa.net/paramhttp://www.taringa.net/author
  • 7/31/2019 Ejercicios, Java (Netbeans)..

    7/9

    TwittearTwittear

    0121

    Me gusta

    }

    Anuncios Goo gle

    Arqumedes : Conozca ms

    www.logosofia.org.br/libro-gratis - La Ciencia del Conocimie nto de s mism o. Gane un libro gratis

    0

    Enviar

    3

    Dar puntos 1 2 3 4 5 6 7 8 9 +10

    Votos: 9 - T! score: 7.5 / 10

    67 Puntos

    SeguirSeguir A favoritosA favoritos0

    Seguidores

    22.490Visitas

    22Favoritos

    Dlar Paralelo

    Prevea el Futuro del Dlar y Sepa Invertir en el Mejor Momento. Aqu!

    Igdigital.com/Dolar-Paralelo

    15 comentarios

    @Neko069hace 1 ao +1

    Para el ejercicio 1, te conviene declarar dos variables double, una que tenga el valor del dolar, y otra el valor

    del peso...asi, el dia que el valor de la moneda cambie, vas directo a esa variable y la modificas, y no te

    tenes que comer el garron de buscar linea por line a ver donde hay que modificarlo...

    che, tan buenos, me los llevo

    @fedecasbas18hace 1 ao +2

    una sugerencia para leer de teclado te conviene utilizar la libreria Scanner, es mas facil para tomar los datos

    ingresados por pantalla. para el ultimo ejercicio podes utilizar la libreria Date q te provee muchos metodos

    para la manipulacion de fechas!.. Saludos!

    @tony1089hace 1 ao +1

    Esto es como de progra 1, pero asi se inicia... Esta bueno pero te recomiendo usar los joptionpane que son

    mas amenos al usuario. Otra recomendacion es que estudies algunas librerias(hay muchas muy utiles)

    como la math que ofrece muchos procedimientos para realizar las cosas mas sencillamente

    @NISHOBAChace 1 ao

    gracias por los concejos gente!! recien me inicio en esto ... espero q a alguien le sirva..!

    exitos miles!

    @sebastian1818hace 1 ao

    HA! Pero esto es programacion para salames, aguante COBOL loco!!

    @NISHOBAChace 1 ao

    sebastian1818dijo:

    HA! Pero esto es programacion para salames, aguante COBOL loco!!

    cobol es para maniaticos...: /

    @gonzi99hace 1 ao

    deja de chorear con tu tarea de la facu wachin! +10

    http://www.taringa.net/gonzi99http://www.taringa.net/gonzi99http://www.taringa.net/gonzi99http://www.taringa.net/posts/info/9734313/Ejercicios_-Java-_Netbeans____2.html#comid-571819http://www.taringa.net/gonzi99http://www.taringa.net/gonzi99http://www.taringa.net/sebastian1818http://www.taringa.net/posts/info/9734313/Ejercicios_-Java-_Netbeans____2.html#comid-537952http://www.taringa.net/NISHOBAChttp://www.taringa.net/NISHOBAChttp://www.taringa.net/posts/info/9734313/Ejercicios_-Java-_Netbeans____2.html#comid-537804http://www.taringa.net/sebastian1818http://www.taringa.net/sebastian1818http://www.taringa.net/posts/info/9734313/Ejercicios_-Java-_Netbeans____2.html#comid-537197http://www.taringa.net/NISHOBAChttp://www.taringa.net/NISHOBAChttp://www.taringa.net/posts/info/9734313/Ejercicios_-Java-_Netbeans____2.html#comid-537069http://www.taringa.net/tony1089http://www.taringa.net/tony1089http://www.taringa.net/posts/info/9734313/Ejercicios_-Java-_Netbeans____2.html#comid-537058http://www.taringa.net/fedecasbas18http://www.taringa.net/fedecasbas18http://www.taringa.net/posts/info/9734313/Ejercicios_-Java-_Netbeans____2.html#comid-537056http://www.taringa.net/Neko069http://www.taringa.net/Neko069http://www.google.com/url?ct=abg&q=https://www.google.com/adsense/support/bin/request.py%3Fcontact%3Dabg_afc%26url%3Dhttp://www.taringa.net/posts/info/9734313/Ejercicios_-Java-_Netbeans____2.html%26gl%3DAR%26hl%3Des%26client%3Dca-pub-5717128494977839%26ai0%3DCO39hnxh2UInoFce7sQei54GwB8Pe5LgCy4nFqT_AjbcBEAEgn4jOElCJ6cRnYKHwhoBYoAH9j8fkA8gBAakCxP068DB7jD7gAgCoAwHIA98EqgSxAU_Qm-Coa_GGkdsNfv-KEz2XD4Yruy2clVqwFMMSpIHc2fbDeT2_8rSPZTMvw-pRQHNVkJQws9D-rSs_nF0Yfc-3t_c3U2mOGfJOX9H44KJ7ysSr9WcUiqG2Ftt47XuVeEoSQ-ERDg-GH9CBIeNwAQZMButCVg27eqAUpVwykLm_xbdXv4DRhkH21FaHSGdR_ZbG3Gh_IvjY-VCoH5xwxOi20kUc1uwR_byFfej7H--3muAEAQ&usg=AFQjCNFbEaz5eR2feewqLZJyQ9kTWC9egQhttp://googleads.g.doubleclick.net/aclk?sa=l&ai=CO39hnxh2UInoFce7sQei54GwB8Pe5LgCy4nFqT_AjbcBEAEgn4jOElCJ6cRnYKHwhoBYoAH9j8fkA8gBAakCxP068DB7jD7gAgCoAwHIA98EqgSxAU_Qm-Coa_GGkdsNfv-KEz2XD4Yruy2clVqwFMMSpIHc2fbDeT2_8rSPZTMvw-pRQHNVkJQws9D-rSs_nF0Yfc-3t_c3U2mOGfJOX9H44KJ7ysSr9WcUiqG2Ftt47XuVeEoSQ-ERDg-GH9CBIeNwAQZMButCVg27eqAUpVwykLm_xbdXv4DRhkH21FaHSGdR_ZbG3Gh_IvjY-VCoH5xwxOi20kUc1uwR_byFfej7H--3muAEAQ&num=1&sig=AOD64_3e8ArdumB4I_KQ8turVZUFcn0WFw&client=ca-pub-5717128494977839&adurl=http://landings.igdigital.com/newsletter-ig-rnd06http://googleads.g.doubleclick.net/aclk?sa=l&ai=Co_Dynhh2UJnvIMG_6gGEnoDoBNa-gs0BlriiuxXAjbcBEAEgn4jOElDMzrb5-P____8BYKHwhoBYoAGGucDwA8gBAakCb6x8Wpx0oD6oAwGqBJkBT9ABp91Yk2uFUE4yPL6sKrouEf4UEYeH5Q3baniFiYbrkKa8xxJvgy0Zr7QYJQUrbBixwgdI7tOWdyOpf5vJry8yB7NVTFvt2AvwWdpbu6AARmYdcoTIHYWiCdcG6p4p4dQKfVmldW2zw-18TdEl6tGDUNorWJx6OGVLTUQ96DWuGD49Ky6y2RsTT_JfymGrY6P2USuzSNUf&num=1&sig=AOD64_3CLTrbSrPPB639AIeuqqbtZxHOOQ&client=ca-pub-5717128494977839&adurl=http://www.logosofia.org.br/libros-argentina/http://googleads.g.doubleclick.net/aclk?sa=l&ai=Co_Dynhh2UJnvIMG_6gGEnoDoBNa-gs0BlriiuxXAjbcBEAEgn4jOElDMzrb5-P____8BYKHwhoBYoAGGucDwA8gBAakCb6x8Wpx0oD6oAwGqBJkBT9ABp91Yk2uFUE4yPL6sKrouEf4UEYeH5Q3baniFiYbrkKa8xxJvgy0Zr7QYJQUrbBixwgdI7tOWdyOpf5vJry8yB7NVTFvt2AvwWdpbu6AARmYdcoTIHYWiCdcG6p4p4dQKfVmldW2zw-18TdEl6tGDUNorWJx6OGVLTUQ96DWuGD49Ky6y2RsTT_JfymGrY6P2USuzSNUf&num=1&sig=AOD64_3CLTrbSrPPB639AIeuqqbtZxHOOQ&client=ca-pub-5717128494977839&adurl=http://www.logosofia.org.br/libros-argentina/http://www.google.com/url?ct=abg&q=https://www.google.com/adsense/support/bin/request.py%3Fcontact%3Dabg_afc%26url%3Dhttp://www.taringa.net/posts/info/9734313/Ejercicios_-Java-_Netbeans____2.html%26gl%3DAR%26hl%3Des%26client%3Dca-pub-5717128494977839%26ai0%3DCo_Dynhh2UJnvIMG_6gGEnoDoBNa-gs0BlriiuxXAjbcBEAEgn4jOElDMzrb5-P____8BYKHwhoBYoAGGucDwA8gBAakCb6x8Wpx0oD6oAwGqBJkBT9ABp91Yk2uFUE4yPL6sKrouEf4UEYeH5Q3baniFiYbrkKa8xxJvgy0Zr7QYJQUrbBixwgdI7tOWdyOpf5vJry8yB7NVTFvt2AvwWdpbu6AARmYdcoTIHYWiCdcG6p4p4dQKfVmldW2zw-18TdEl6tGDUNorWJx6OGVLTUQ96DWuGD49Ky6y2RsTT_JfymGrY6P2USuzSNUf&usg=AFQjCNGx2gCHt2cKrtsyTI9ZN7P-tXEWuwhttp://twitter.com/search?q=http%3A%2F%2Fwww.taringa.net%2Fposts%2Finfo%2F9734313%2FEjercicios_-Java-_Netbeans____2.htmlhttps://twitter.com/intent/tweet?original_referer=http%3A%2F%2Fwww.taringa.net%2Fposts%2Finfo%2F9734313%2FEjercicios_-Java-_Netbeans____2.html&source=tweetbutton&text=Ejercicios%2C%20Java%20(Netbeans)...2%20-&url=http%3A%2F%2Fwww.taringa.net%2Fposts%2Finfo%2F9734313%2FEjercicios_-Java-_Netbeans____2.html&via=Taringa
  • 7/31/2019 Ejercicios, Java (Netbeans)..

    8/9

    @NISHOBAChace 1 ao

    gonzi99 dijo:

    deja de chorear con tu tarea de la facu wachin! +10

    seguro que te afanastes alguno...

    @adycto88hace 1 ao

    Interesantes aplicaciones, aqu les dejo los mios salu2

    http://www.taringa.net/posts/info/12524544/Ejercicios-propuestos-en-Netbeans_Aplicativos-java.html

    Inteligencia colectiva

    @HADarkhace 1 ao +1

    A mi me s irve mucho, buen post amigo. +10 y Reco

    @ManhattanBandhace 7 meses -4

    Entre y pense que iva a ver un C.R.U.D database o minimo un array list

    Es nivel ameba esto

    @NISHOBAChace 7 meses

    ManhattanBanddijo:

    Entre y pense que iva a ver un C.R.U.D database o minimo un array list

    Es nivel ameba esto

    y seguro vos aprendiste directamente lo avanzado no?

    @franlacohace 5 meses

    che en el calculo de segundos restantes te falto hacerle esto

    int stt = (int) ((int) st-((ht*3600))-((mt*60))%60) porque sino en los segundos da un numeraso de la concha de

    la madre

    @NISHOBAChace 5 meses

    franlaco dijo:che en el calculo de segundos restantes te falto hacerle esto

    int stt = (int) ((int) st-((ht*3600))-((mt*60))%60) porque sino en los segundos da un numeraso de la

    concha de la madre

    uhh a ver mas tarde lo reviso.. :/ pero me corrigieron bien todos los ejercisios asi q nose

    @Zir-Danyhace 20 das +1

    Mmmm tabueno el del primero, te dejo esta solucion permite al usuario elegir que moneda convierte a cual,

    euros a dolares o dolares a euros

    Scanner scan = new Scanner (System.in);

    double euros = 0;

    double dolares = 0;

    double pesosD = 1799.80;

    double pesosE = 2333.80;

    String convertir = "";

    System.out.println("Si desea convertir de euros a dolares esciba E/D de lo contrario escriba D/E" ;

    convertir = scan.nextLine();

    http://www.taringa.net/posts/info/9734313/Ejercicios_-Java-_Netbeans____2.html#comid-949597http://www.taringa.net/Zir-Danyhttp://www.taringa.net/Zir-Danyhttp://www.taringa.net/franlacohttp://www.taringa.net/posts/info/9734313/Ejercicios_-Java-_Netbeans____2.html#comid-875825http://www.taringa.net/NISHOBAChttp://www.taringa.net/NISHOBAChttp://www.taringa.net/posts/info/9734313/Ejercicios_-Java-_Netbeans____2.html#comid-875726http://www.taringa.net/franlacohttp://www.taringa.net/franlacohttp://www.taringa.net/ManhattanBandhttp://www.taringa.net/posts/info/9734313/Ejercicios_-Java-_Netbeans____2.html#comid-841038http://www.taringa.net/NISHOBAChttp://www.taringa.net/NISHOBAChttp://www.taringa.net/posts/info/9734313/Ejercicios_-Java-_Netbeans____2.html#comid-840908http://www.taringa.net/ManhattanBandhttp://www.taringa.net/ManhattanBandhttp://www.taringa.net/posts/info/9734313/Ejercicios_-Java-_Netbeans____2.html#comid-739461http://www.taringa.net/HADarkhttp://www.taringa.net/HADarkhttp://www.taringa.net/posts/info/9734313/Ejercicios_-Java-_Netbeans____2.html#comid-738825http://www.taringa.net/adycto88http://www.taringa.net/adycto88http://www.taringa.net/gonzi99http://www.taringa.net/posts/info/9734313/Ejercicios_-Java-_Netbeans____2.html#comid-571823http://www.taringa.net/NISHOBAChttp://www.taringa.net/NISHOBAC
  • 7/31/2019 Ejercicios, Java (Netbeans)..

    9/9

    Anuncios Google Java Java 6 SDK Programar En Java Java Core Java

    Ir al cielBuscar...

    Anunciar Ayuda Prensa Protocolo Desarrolladores Denuncias Report Abuse - DMCA Trminos y condiciones Privacidad de datos Buscar

    amigos

    China lanza un misil intercontinental desde un submarino

    muy facil programar en java + JCreator

    El Aura Post Completo 2/4

    ideas creativas (regalos, algunos inexplicables)

    Queres adelgazar? Parte 2

    Parte 2 Como nos alimentamos?, mitos y verdades,

    nutricion

    Visual Studio + Ejercicios

    Trabajo Practico Biologia(Pofesora Nidia.Z)

    http://www.taringa.net/posts/info/2967365/Trabajo-Practico-Biologia_Pofesora-Nidia_Z_.htmlhttp://www.taringa.net/posts/apuntes-y-monografias/4618296/Visual-Studio-_-Ejercicios.htmlhttp://www.taringa.net/posts/info/1068973/Parte-2-_Como-nos-alimentamos__-mitos-y-verdades_-nutricion.htmlhttp://www.taringa.net/posts/salud-bienestar/1141364/_Queres-adelgazar_-Parte-2.htmlhttp://www.taringa.net/posts/imagenes/6948559/ideas--creativas-_regalos_-algunos-inexplicables_.htmlhttp://www.taringa.net/posts/paranormal/15364990/El-Aura-Post-Completo-2_4.htmlhttp://www.taringa.net/posts/hazlo-tu-mismo/13465876/muy-facil-programar-en-java-_-JCreator.htmlhttp://www.taringa.net/posts/noticias/15457576/China-lanza-un-misil-intercontinental-desde-un-submarino.htmlhttp://www.taringa.net/buscar/amigos/http://www.taringa.net/privacidad-de-datos/http://www.taringa.net/terminos-y-condiciones/http://www.taringa.net/takedown-notice.phphttp://www.taringa.net/denuncia-publica/http://www.taringa.net/widgets/compartirhttp://www.taringa.net/protocolo/http://www.taringa.net/prensahttp://ayuda.itaringa.net/http://anuncie.taringa.net/http://www.wiroos.com/http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-5717128494977839&output=html&h=15&slotname=0536577215&w=728&lmt=1349927636&flash=11.4.31&url=http%3A%2F%2Fwww.taringa.net%2Fposts%2Finfo%2F9734313%2FEjercicios_-Java-_Netbeans____2.html&dt=1349916836520&bpp=6&shv=r20121008&jsv=r20110914&correlator=1349916836531&frm=20&adk=3960550131&ga_vid=1852726116.1348795799&ga_sid=1349916835&ga_hid=1508677275&ga_fc=1&u_tz=-180&u_his=1&u_java=1&u_h=768&u_w=1366&u_ah=740&u_aw=1366&u_cd=32&u_nplug=17&u_nmime=28&dff=helvetica&dfs=11&adx=123&ady=11377&biw=1227&bih=596&oid=3&ref=http%3A%2F%2Fwww.google.com.ar%2Furl%3Fsa%3Dt%26rct%3Dj%26q%3D%26esrc%3Ds%26source%3Dweb%26cd%3D2%26ved%3D0CCUQFjAB%26url%3Dhttp%253A%252F%252Fwww.taringa.net%252Fposts%252Finfo%252F9734313%252FEjercicios_-Java-_Netbeans____2.html%26ei%3Dlxh2UOmRDImy8AShyYDQBQ%26usg%3DAFQjCNH9p1aUiY91G8Khf4q46j4njqAdnQ%26sig2%3DvOOh-_yXGMYGONIHRXzeRw%26cad%3Drja&fu=0&ifi=5&dtd=138&xpc=2Ge5eP2rby&p=http%3A//www.taringa.net&rl_rc=true&adsense_enabled=true&ad_type=text&ui=rc:0&oe=UTF8&height=15&width=728&format=fp_al_lp&kw_type=radlink&prev_fmts=728x15_0ads_al&rt=ChBQdhifAAS2Jwo6jUo5AHSuEg5KYXZhIENvcmUgSmF2YRoIYZ1wq3weuS4oAVITCLiDzYng97ICFXGNOgodgC8Amg&hl=es&kw0=Java&kw1=Java+6+SDK&kw2=Programar+En+Java&kw3=Java+Core+Java&okw=Java+Core+Javahttp://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-5717128494977839&output=html&h=15&slotname=0536577215&w=728&lmt=1349927636&flash=11.4.31&url=http%3A%2F%2Fwww.taringa.net%2Fposts%2Finfo%2F9734313%2FEjercicios_-Java-_Netbeans____2.html&dt=1349916836520&bpp=6&shv=r20121008&jsv=r20110914&correlator=1349916836531&frm=20&adk=3960550131&ga_vid=1852726116.1348795799&ga_sid=1349916835&ga_hid=1508677275&ga_fc=1&u_tz=-180&u_his=1&u_java=1&u_h=768&u_w=1366&u_ah=740&u_aw=1366&u_cd=32&u_nplug=17&u_nmime=28&dff=helvetica&dfs=11&adx=123&ady=11377&biw=1227&bih=596&oid=3&ref=http%3A%2F%2Fwww.google.com.ar%2Furl%3Fsa%3Dt%26rct%3Dj%26q%3D%26esrc%3Ds%26source%3Dweb%26cd%3D2%26ved%3D0CCUQFjAB%26url%3Dhttp%253A%252F%252Fwww.taringa.net%252Fposts%252Finfo%252F9734313%252FEjercicios_-Java-_Netbeans____2.html%26ei%3Dlxh2UOmRDImy8AShyYDQBQ%26usg%3DAFQjCNH9p1aUiY91G8Khf4q46j4njqAdnQ%26sig2%3DvOOh-_yXGMYGONIHRXzeRw%26cad%3Drja&fu=0&ifi=5&dtd=138&xpc=2Ge5eP2rby&p=http%3A//www.taringa.net&rl_rc=true&adsense_enabled=true&ad_type=text&ui=rc:0&oe=UTF8&height=15&width=728&format=fp_al_lp&kw_type=radlink&prev_fmts=728x15_0ads_al&rt=ChBQdhifAAS2Igo6jUo5AHSuEhFQcm9ncmFtYXIgRW4gSmF2YRoIc_6t1Vg1zdMoAVITCLiDzYng97ICFXGNOgodgC8Amg&hl=es&kw0=Java&kw1=Java+6+SDK&kw2=Programar+En+Java&kw3=Java+Core+Java&okw=Programar+En+Javahttp://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-5717128494977839&output=html&h=15&slotname=0536577215&w=728&lmt=1349927636&flash=11.4.31&url=http%3A%2F%2Fwww.taringa.net%2Fposts%2Finfo%2F9734313%2FEjercicios_-Java-_Netbeans____2.html&dt=1349916836520&bpp=6&shv=r20121008&jsv=r20110914&correlator=1349916836531&frm=20&adk=3960550131&ga_vid=1852726116.1348795799&ga_sid=1349916835&ga_hid=1508677275&ga_fc=1&u_tz=-180&u_his=1&u_java=1&u_h=768&u_w=1366&u_ah=740&u_aw=1366&u_cd=32&u_nplug=17&u_nmime=28&dff=helvetica&dfs=11&adx=123&ady=11377&biw=1227&bih=596&oid=3&ref=http%3A%2F%2Fwww.google.com.ar%2Furl%3Fsa%3Dt%26rct%3Dj%26q%3D%26esrc%3Ds%26source%3Dweb%26cd%3D2%26ved%3D0CCUQFjAB%26url%3Dhttp%253A%252F%252Fwww.taringa.net%252Fposts%252Finfo%252F9734313%252FEjercicios_-Java-_Netbeans____2.html%26ei%3Dlxh2UOmRDImy8AShyYDQBQ%26usg%3DAFQjCNH9p1aUiY91G8Khf4q46j4njqAdnQ%26sig2%3DvOOh-_yXGMYGONIHRXzeRw%26cad%3Drja&fu=0&ifi=5&dtd=138&xpc=2Ge5eP2rby&p=http%3A//www.taringa.net&rl_rc=true&adsense_enabled=true&ad_type=text&ui=rc:0&oe=UTF8&height=15&width=728&format=fp_al_lp&kw_type=radlink&prev_fmts=728x15_0ads_al&rt=ChBQdhifAAS2Hgo6jUo5AHSuEgpKYXZhIDYgU0RLGgjLEM2ZBth0aygBUhMIuIPNieD3sgIVcY06Ch2ALwCa&hl=es&kw0=Java&kw1=Java+6+SDK&kw2=Programar+En+Java&kw3=Java+Core+Java&okw=Java+6+SDKhttp://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-5717128494977839&output=html&h=15&slotname=0536577215&w=728&lmt=1349927636&flash=11.4.31&url=http%3A%2F%2Fwww.taringa.net%2Fposts%2Finfo%2F9734313%2FEjercicios_-Java-_Netbeans____2.html&dt=1349916836520&bpp=6&shv=r20121008&jsv=r20110914&correlator=1349916836531&frm=20&adk=3960550131&ga_vid=1852726116.1348795799&ga_sid=1349916835&ga_hid=1508677275&ga_fc=1&u_tz=-180&u_his=1&u_java=1&u_h=768&u_w=1366&u_ah=740&u_aw=1366&u_cd=32&u_nplug=17&u_nmime=28&dff=helvetica&dfs=11&adx=123&ady=11377&biw=1227&bih=596&oid=3&ref=http%3A%2F%2Fwww.google.com.ar%2Furl%3Fsa%3Dt%26rct%3Dj%26q%3D%26esrc%3Ds%26source%3Dweb%26cd%3D2%26ved%3D0CCUQFjAB%26url%3Dhttp%253A%252F%252Fwww.taringa.net%252Fposts%252Finfo%252F9734313%252FEjercicios_-Java-_Netbeans____2.html%26ei%3Dlxh2UOmRDImy8AShyYDQBQ%26usg%3DAFQjCNH9p1aUiY91G8Khf4q46j4njqAdnQ%26sig2%3DvOOh-_yXGMYGONIHRXzeRw%26cad%3Drja&fu=0&ifi=5&dtd=138&xpc=2Ge5eP2rby&p=http%3A//www.taringa.net&rl_rc=true&adsense_enabled=true&ad_type=text&ui=rc:0&oe=UTF8&height=15&width=728&format=fp_al_lp&kw_type=radlink&prev_fmts=728x15_0ads_al&rt=ChBQdhifAAS2CAo6jUo5AHSuEgRKYXZhGgha41jfdKykRigBUhMIuIPNieD3sgIVcY06Ch2ALwCa&hl=es&kw0=Java&kw1=Java+6+SDK&kw2=Programar+En+Java&kw3=Java+Core+Java&okw=Javahttps://www.google.com/adsense/support/bin/request.py?contact=abg_afc&url=http://www.taringa.net/posts/info/9734313/Ejercicios_-Java-_Netbeans____2.html&hl=es&client=ca-pub-5717128494977839&rad0=Java&rad1=Java+6+SDK&rad2=Programar+En+Java&rad3=Java+Core+Javahttp://googleads.g.doubleclick.net/aclk?sa=l&ai=CtfbSnxh2UJeiJoe7sQeKloGwB778gskC1oWD_Du8lOHlHRABIJ-IzhJQoa3f0_j_____AWCh8IaAWKABtpy8_QPIAQLgAgCoAwHIA50EqgS4AU_Q-SGMD5YwSuwznZjVCxQ9DnAOBVDmvNW-ZUx7W2f4Jluz0a7atc3YnqybyKVbEg8ZL49aXEdbnnREBqcpgxSaHd2PIgfTXt5tHZli189kit1khhi6N2xZP7Yq6lZ2RWVBB1M5ngUli2nYIYegvwhxpkn1ea3BJidAqNgTsqO35f6I3chCw73pDl2wTszmPvb2sR0Z8UNatti3GdKOfyb4aJu052bOVc2Fv5t_RHG8IXGvB6y_2yjgBAGgBgI&num=1&sig=AOD64_3DES-9mWRb_-fzHEJxf0Hp5-fzOw&client=ca-pub-5717128494977839&adurl=http://www.ImperiaOnline.org