CPP
cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <iostream>
#include<cmath>
using namespace std;
int main() {
int houses;
cin>>houses;
//your code goes here
int t;
//int k,j;
//You have to use ceil()to round up the nearest integer
t= ceil((2.0/houses)*100);
//float i= (t+0.50);
cout<<t;
return 0;
}
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run