Advertisement
dragonbs

ProjectsCreation

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