#include <iomanip>
#include <iostream>
#include <math.h>
#include <tgmath.h> 
using namespace std;
double round_with_precision(double d, const int &prec)
{
	d *= pow(10, prec);
    return std::round(d) / pow(10, prec);
}
int main(){
    const int prec = 2;
    cout << round_with_precision(1.7/20, prec) << endl;
    cout << round_with_precision(1.1/20, prec) << endl;
}