Untitled
unknown
c_cpp
2 years ago
186 B
3
Indexable
#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);
}Editor is loading...
Leave a Comment