Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace _04._Vacation_books_list
- {
- class Program
- {
- static void Main(string[] args)
- {
- int sheets = int.Parse(Console.ReadLine());
- double read = double.Parse(Console.ReadLine());
- int days = int.Parse(Console.ReadLine());
- double bookreadingtime = sheets / read;
- double hoursperday = bookreadingtime / days;
- Console.WriteLine(hoursperday);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment