Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class ProjectsCreation {
- public static void main(String[] args) {
- Scanner scanner = new Scanner(System.in);
- String architectName = scanner.nextLine();
- int projectCount = Integer.parseInt(scanner.nextLine());
- System.out.printf("The architect %s will need %d hours to complete %d project/s.", architectName, projectCount * 3, projectCount);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement