Advertisement
Spocoman

Gramophone

Nov 29th, 2021
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.45 KB | None | 0 0
  1. using System;
  2.  
  3. namespace Gramophone
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             string band = Console.ReadLine();
  10.             string album = Console.ReadLine();
  11.             string song = Console.ReadLine();
  12.  
  13.             double rotation = band.Length * album.Length * song.Length / 2 / 2.5;
  14.             Console.WriteLine($"The plate was rotated { Math.Ceiling(rotation)} times.");
  15.         }
  16.     }
  17. }
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement