Created
August 12, 2012 15:39
-
-
Save avanege/3332345 to your computer and use it in GitHub Desktop.
Programma8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Тип double | |
/* Страница 75 */ | |
class Programma8 | |
{ | |
public static void main(String args[]) | |
{ | |
double evro, dolar, funts; // Тип double(двойная точность) требует использования 64 бит информации. | |
evro = 51.10; | |
dolar = 32.75; | |
funts = 60.23; | |
System.setOut(new PrintStream(System.out, true, "cp866")); | |
System.setErr(new PrintStream(System.err, true, "cp866")); | |
System.out.println(evro + "Опачки"); | |
System.out.println(dolar); | |
System.out.println(funts); | |
System.out.println(""); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment