Untitled

mail@pastecode.io avatar
unknown
c_cpp
7 months ago
186 B
0
Indexable
Never
#include <iostream>
using namespace std;

int main()
{
	int a, b;
	float c;
	cin >> a >> b;
	c = float(a) / b;
	if (c - int(c) > 0) cout << int(c) + 1;
	else cout << int(c);
}
Leave a Comment