Advertisement
IvanITD

07.ProjectCreation

Jan 14th, 2024
450
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.31 KB | Source Code | 0 0
  1. string architectName = Console.ReadLine();
  2. int projectAmmount = int.Parse(Console.ReadLine());
  3.  
  4. int timePerProject = 3;
  5.  
  6. int neededHours = projectAmmount * timePerProject;
  7.  
  8. Console.WriteLine($"The architect {architectName} will need {neededHours} " +
  9.     $"hours to complete {projectAmmount} project/s.");
  10.  
Tags: C#
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement