c2
This commit is contained in:
parent
0d75f30a49
commit
4744ebb565
69 changed files with 7 additions and 5 deletions
|
|
@ -1,14 +0,0 @@
|
|||
// pb_2_2.cpp
|
||||
// Горбацевич Андрей
|
||||
#include <stdio.h>
|
||||
#include <cmath>
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
int deg;
|
||||
printf("deg >>>");
|
||||
scanf("%d", °);
|
||||
int elapsedHours = deg / 30;
|
||||
int elapsedMinutes = elapsedHours*60 + deg / 6;
|
||||
printf("Elapsed hours: %d \nElapsed minutes: %d", elapsedHours, elapsedMinutes);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue