Spocoman

04. Vacation Books List

Nov 16th, 2021 (edited)
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.42 KB | None | 0 0
  1. using System;
  2.  
  3. namespace DepositCalculator
  4. {
  5.     class Program
  6.     {
  7.         static void Main()
  8.         {
  9.             int pages = int.Parse(Console.ReadLine());
  10.             int pagesPerHour = int.Parse(Console.ReadLine());
  11.             int daysToRead = int.Parse(Console.ReadLine());
  12.  
  13.             int hoursPerDay = pages / pagesPerHour / daysToRead;
  14.  
  15.             Console.WriteLine(hoursPerDay);
  16.         }
  17.     }
  18. }
Add Comment
Please, Sign In to add comment