Advertisement
Guest User

Untitled

a guest
Oct 21st, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. import java.util.*;
  2. public class HelloWorld{
  3.  
  4. public static void main(String []args){
  5. double m;
  6. double a;
  7. Scanner in = new Scanner(System.in);
  8. m = in.nextDouble();
  9. a = in.nextDouble();
  10. double F;
  11. F = m * a;
  12. // типПременной имяПеременной = new типПеременной();
  13. //number = in.nextInt();
  14. System.out.println(F);
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement