4. Vacation Book List

ivanitd

Ivan Ivanov

Posted on January 20, 2023

4. Vacation Book List
using System;

namespace VacationBooksList
{
internal class Program
{
    static void Main(string[] args)
    {
        int pageNum = int.Parse(Console.ReadLine());
        int page = int.Parse(Console.ReadLine());
        int countDays = int.Parse(Console.ReadLine());

        int totalReadingHour = pageNum / page;
        int neededHours = totalReadingHour / countDays;


        Console.WriteLine(neededHours);
    }
}
}
Enter fullscreen mode Exit fullscreen mode
💖 💪 🙅 🚩
ivanitd
Ivan Ivanov

Posted on January 20, 2023

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

7. Food Delivery
csharp 7. Food Delivery

January 20, 2023

8. Basketball Equipment
csharp 8. Basketball Equipment

January 20, 2023

6. Repainting
csharp 6. Repainting

January 20, 2023

1. USD To BGN
csharp 1. USD To BGN

January 20, 2023

3. Deposit Calculator
csharp 3. Deposit Calculator

January 20, 2023