Advertisement
desislava_topuzakova

Untitled

Apr 17th, 2020
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. using System;
  2.  
  3. namespace P01Greeting
  4. {
  5. class Program
  6. {
  7. static void Main(string[] args)
  8. {
  9. string nameOfArchitect = Console.ReadLine();
  10. int countOfProjects = int.Parse(Console.ReadLine());
  11. int countOfHours = countOfProjects * 3;
  12.  
  13. Console.WriteLine("The architect {0} will need {1} hours to complete {2} project/s."
  14. ,nameOfArchitect,countOfHours,countOfProjects);
  15. }
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement