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 scan = new Scanner (System.in );
- String name = scan .nextLine();
- int projectsCont = Integer .parseInt(scan .nextLine());
- int hours = projectsCont * 3;
- System .out.println();
- String . format("The architect %s will need %d project/s .");
- name, hours, projectsCont );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement