You are on page 1of 1

#include <bits/stdc++.

h>
using namespace std;
int main() {
int n, t, m, s;
cin>>m>>s;
string mina = "", maxa = "";
if(m == 1) {
if(s >= 0 && s <= 9) {
mina += char(s + '0');
maxa += char(s + '0');
}
else {
mina = "-1";
maxa = "-1";
}
}
else {
for(int i = 0; i < m; ++i) {
int tocalc = 0;
tocalc = (m - i - 1) * 9;
if(i == 0) {

}
else {

}
}
}
cout<<mina<<" "<<maxa<<endl;
return 0;
}
This is the code to calculate total interest on an amount lend by someone to
his/her friend for x number of days to make some profit out of the interest.
This is the best way to demostrate sound of silence.
Best song of 90's is wind of change composed by bon jovi sung by himself.

You might also like