Zadanie22

Zadanie22



File Edit Search Markers Folding View Utilities Macros Plugins Help

££! oo^oo pmmm i^u

Q ©

O Zadanie22.java (D:\StraznikTeXasu\UMCS\java\Prog1\)

iręort java.io.*;.

■ public class Zadanie22^.

public static void main(String[] argumenty) {. double liczbaOl;. double liczba02;.

Console konsolka = System.console();.

System.out.println("Program porównuje podane liczby.");.

liczbaOl = Double.parseDouble(konsolka.readLine("Podaj pierwsza liczbę: liczba02 = Double.parseDouble(konsolka.readLine("Podaj druga liczbę: ”))

if (liczbaOl = liczba02) {.

System.out.println("Podane liczby sa równe.");.

} else if (liczbaOl > liczba02) {.

System.out.println("Pierwsza liczba jest większa.”);.

} else {.

System.out.println("Druga liczba jest większa.");.

>;•

}

U

r

a.

U_

_LI

25,2 Ali_______Qava.none,Cp1250)----włiflfcMb


Wyszukiwarka

Podobne podstrony:
17686 Zadanie21 File Edit Search Markers Folding View Utilities Macros Plugins Help □łńHS>^ ££$ 0
Zadanie51B File Edit Search Markers Folding View Utilities Macros Plugins Help □łńHS>^ ££$ 0 04-0
17686 Zadanie21 File Edit Search Markers Folding View Utilities Macros Plugins Help □łńHS>^ ££$ 0
80576 Zadanie51B File Edit Search Markers Folding View Utilities Macros Plugins Help □łńHS>^ ££$
Zadanie20 File Edit Search Markers Folding View Utilities Macros Plugins Help ££! OO^OO coe pmmm Q
Zadanie51D File Edit Search Markers Folding View Utilities Macros Plugins Help O Zadanie51D.java
Zadanie112 File Edit Search Markers Folding View Utilities Macros Plugins Help oo^oo pmmm i^u Q ©
Zadanie19 1] jEdit - Zadaniel9.java^ File Edit Search Markers Folding View Utilities Macros Plugins
86132 Zadanie51C File Edit Search Markers Folding View Utilities Macros Plugins HelpO Zadanie51C.jav
Program File Edit Search Markers Folding View Utilities Macros Plugins Help fiS 0 04-0 0 : - tf
Program jEdit - Program_09.java File Edit Search Markers Folding View Utilities Macros Plugins Help

więcej podobnych podstron