desislava_topuzakova

Untitled

Apr 4th, 2021
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. using System;
  2.  
  3. namespace _04._Vacation_books_list
  4. {
  5. class Program
  6. {
  7. static void Main(string[] args)
  8. {
  9. int sheets = int.Parse(Console.ReadLine());
  10.  
  11. double read = double.Parse(Console.ReadLine());
  12.  
  13. int days = int.Parse(Console.ReadLine());
  14.  
  15. double bookreadingtime = sheets / read;
  16. double hoursperday = bookreadingtime / days;
  17. Console.WriteLine(hoursperday);
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24. }
  25. }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment