Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.company;
- import java.util.Scanner;
- public class Main {
- public static void main(String[] args) {
- float Massa;
- float Scra;
- float F = 0;
- Scanner in =new Scanner(System.in);
- Massa = in.nextFloat();
- Scra = in.nextFloat();
- F = Massa * Scra;
- System.out.println(F);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement