c2
This commit is contained in:
parent
0d75f30a49
commit
4744ebb565
69 changed files with 7 additions and 5 deletions
|
|
@ -1,14 +0,0 @@
|
|||
// pb_z1_3.cpp
|
||||
// Горбацевич Андрей
|
||||
#include <stdio.h>
|
||||
#include <cmath>
|
||||
#include <algorithm>
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
double d;
|
||||
printf("d >>>");
|
||||
scanf("%lf", &d);
|
||||
d = ((int)(abs(d) * 10)) % 10;
|
||||
printf("%d", (int)d);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue