Advertisement
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 ConsoleApp1khiughol
- {
- class Program
- {
- static void Main(string[] args)
- {
- int steps = int.Parse(Console.ReadLine());
- int dancers = int.Parse(Console.ReadLine());
- int days = int.Parse(Console.ReadLine());
- double stepsOfDay = (steps / days)/steps;
- double stepsPerDancer = stepsOfDay / dancers;
- if (stepsPerDancer<=13) {
- Console.WriteLine($" Yes,they will succeed in that goal! {stepsPerDancer}%.");
- }
- else
- {
- Console.WriteLine($"No, They will not succeed in that goal! Required {stepsPerDancer}% steps to be learned per day.");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement