Last active
May 8, 2022 18:43
-
-
Save ghostofgamer/aeee81a0b6a7047b319c3a5d55e3cde5 to your computer and use it in GitHub Desktop.
Revisions
-
ghostofgamer revised this gist
May 8, 2022 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,11 +3,11 @@ int hoursExpectation; int minutesExpectation; int spentTime; int minutInHour = 60; Console.Write("Пациентов в очереди:"); amountPatients = Convert.ToInt32(Console.ReadLine()); spentTime = amountPatients * timeReception; hoursExpectation = spentTime / minutInHour; minutesExpectation = spentTime % minutInHour; Console.WriteLine("Вы должны отстоять в очереди " + hoursExpectation + " часа "+ minutesExpectation + " минут");
-
ghostofgamer revised this gist
May 8, 2022 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,10 +3,11 @@ int hoursExpectation; int minutesExpectation; int spentTime; int hour = 60; Console.Write("Пациентов в очереди:"); amountPatients = Convert.ToInt32(Console.ReadLine()); spentTime = amountPatients * timeReception; hoursExpectation = spentTime / hour; minutesExpectation = spentTime % hour; Console.WriteLine("Вы должны отстоять в очереди " + hoursExpectation + " часа "+ minutesExpectation + " минут");
-
ghostofgamer revised this gist
May 8, 2022 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,9 +2,11 @@ int timeReception = 10; int hoursExpectation; int minutesExpectation; int spentTime; Console.Write("Пациентов в очереди:"); amountPatients = Convert.ToInt32(Console.ReadLine()); spentTime = amountPatients * timeReception; hoursExpectation = spentTime / 60; minutesExpectation = spentTime % 60; Console.WriteLine("Вы должны отстоять в очереди " + hoursExpectation + " часа "+ minutesExpectation + " минут");
-
ghostofgamer revised this gist
May 8, 2022 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,10 @@ int amountPatients; int timeReception = 10; int hoursExpectation; int minutesExpectation; Console.Write("Пациентов в очереди:"); amountPatients = Convert.ToInt32(Console.ReadLine()); hoursExpectation = amountPatients * timeReception / 60; minutesExpectation = amountPatients * timeReception % 60; Console.WriteLine("Вы должны отстоять в очереди " + hoursExpectation + " часа "+ minutesExpectation + " минут");
-
ghostofgamer created this gist
May 8, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ int amountPatients; int timeReception = 10; int chas; int min; Console.Write("Пациентов в очереди:"); amountPatients = Convert.ToInt32(Console.ReadLine()); chas = amountPatients * timeReception / 60; min = amountPatients * timeReception % 60; Console.WriteLine("Вы должны отстоять в очереди " +chas+" часа "+min+" минут");