Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Programma8
// Тип 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