Advertisement
NikolayNenchev

Untitled

Sep 12th, 2020
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. import java.util.Scanner;
  2.  
  3. public class projectsCreation {
  4. public static void main(String[] args) {
  5. Scanner scanner = new Scanner(System.in);
  6. String name = scanner.nextLine();
  7. int projectsCounter = Integer.parseInt(scanner.nextLine());
  8. int projectCalculate = projectsCounter * 3;
  9. System.out.printf("The architect %s will need %d hours to complete %d project/s.",name,projectCalculate,projectsCounter);
  10.  
  11. }
  12. }
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement