Advertisement
mihael03

Projects_Creation

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