Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Choreography
- {
- class Program
- {
- static void Main(string[] args)
- {
- double countofSteps = double.Parse(Console.ReadLine());
- double dancers = double.Parse(Console.ReadLine());
- double daysForLearning = double.Parse(Console.ReadLine());
- double stepsperDay = Math.Ceiling(1 * 100 / daysForLearning);
- double stepsforDancer = stepsperDay / dancers;
- if (stepsperDay <= 13)
- {
- Console.WriteLine($"Yes, they will succeed in that goal! {stepsforDancer:F2}%.");
- }
- else
- {
- Console.WriteLine($"No, They will not succeed in that goal! Required {stepsforDancer:F2}% steps to be learned per day.");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment