Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package Mg1Gb;
- import java.util.*;
- class Mg1Gb{
- public static void main (String args[]) {
- int m;
- int g;
- m = 1024;
- Scanner tastatura = new Scanner(System.in);
- System.out.println("Koliko megabajta? (1024MB = 1GB)");
- g = tastatura.nextInt();
- g=g*m;
- System.out.print("gigabajta");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement