Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.*;
- public class HelloWorld{
- public static void main(String []args){
- double m;
- double a;
- Scanner in = new Scanner(System.in);
- m = in.nextDouble();
- a = in.nextDouble();
- double F;
- F = m * a;
- // типПременной имяПеременной = new типПеременной();
- //number = in.nextInt();
- System.out.println(F);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement