+ All Categories
Home > Documents > Ejercicios Sencillos Con Estructuras y Arreglos

Ejercicios Sencillos Con Estructuras y Arreglos

Date post: 12-Nov-2014
Category:
Upload: patricia-valdiviezo-criollo
View: 42 times
Download: 1 times
Share this document with a friend
36
ARITMETICA << - Hallar A+B-C+100 Código: [Seleccionar] class JavaAritmetica1 { public static void main (String mago []) { int A, B, C; System.out.print ("Inserte A: "); A = Leer.datoInt (); System.out.print ("Inserte B: "); B = Leer.datoInt (); System.out.print ("Inserte C: "); C = Leer.datoInt (); System.out.println ("\n" + A + " + " + " " + B + " - " + C + " + " + 100 + " = " + (A + B - C + 100)); } } Hallar (a-b)(a+b) Código: [Seleccionar] class JavaAritmetica2 { public static void main (String elMago []) {
Transcript

ARITMETICA > SERIES

Recommended