Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- public class Program
- {
- public static void Main()
- {
- double broystapki = double.Parse(Console.ReadLine());
- double broytancyori = double.Parse(Console.ReadLine());
- double broydni = double.Parse(Console.ReadLine());
- double stapkinaden2 = (broystapki/broydni)/broystapki;
- double stapkinaden3 = stapkinaden2*100;
- double procentstapkizavsekitancyor = stapkinaden3/broytancyori;
- if (stapkinaden2 <= 0.13)
- {
- Console.WriteLine($"Yes, they will succeed in that goal! {procentstapkizavsekitancyor:f2}%.");
- }
- if (stapkinaden2 > 0.13)
- {
- Console.WriteLine($"No, They will not succeed in that goal! Required {procentstapkizavsekitancyor:f2}% steps to be learned per day.");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement