Advertisement
Guest User

Untitled

a guest
Apr 20th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. import java.util.Scanner;
  2.  
  3. public class ProjectsCreation{
  4. public static void main(String[] args) {
  5. Scanner scan = new Scanner (System.in );
  6.  
  7.  
  8. String name = scan .nextLine();
  9. int projectsCont = Integer .parseInt(scan .nextLine());
  10.  
  11. int hours = projectsCont * 3;
  12.  
  13. System .out.println();
  14. String . format("The architect %s will need %d project/s .");
  15. name, hours, projectsCont );
  16.  
  17. }
  18.  
  19.  
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement