Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.company;
- public class Main {
- public static void main(String[] args) {
- double x, y, z, c ;
- x = 27.6;
- y = 32.6;
- z = 0.40;
- c = 5000;
- x = c/x;
- y = c/y;
- z = c/z;
- System.out.println("Курс долллара: "+x);
- System.out.println("Курс евро: "+y);
- System.out.println("Курс рубля: "+z);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement