Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class DNA_sequence {
- public static void main(String args[]){
- Scanner console = new Scanner(System.in);
- int w = Integer.parseInt(console.nextLine());
- int h = Integer.parseInt(console.nextLine());
- double sum = (w * h)/1000000.0;
- System.out.printf("%dx%d => %.1fMP", w, h, sum);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement