tsvetelinapasheva

TsvetelinaPasheva/FirstStepInCodingLab/07.ProjectsCreation

Dec 1st, 2020 (edited)
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.48 KB | None | 0 0
  1. using System;
  2.  
  3. namespace _07.ProjectsCreation
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             string nameOfArchitect = Console.ReadLine();
  10.             int projectNumber = int.Parse(Console.ReadLine());
  11.             int oneProjectTime = 3;
  12.  
  13.             Console.WriteLine($"The architect {nameOfArchitect} will need {projectNumber * oneProjectTime} " +
  14.                 $"hours to complete {projectNumber} project/s.");
  15.  
  16.         }
  17.     }
  18. }
Add Comment
Please, Sign In to add comment