Untitled

Anonymous
Plain Text
10/27/2022 6:14 PM
194 B
26
Indexable
Never
#include <iostream>

using namespace std;
int main()
{
	int n, f;
	f = 0;
	cin >> n;
	if (n % 5==0) 
	{
		cout << n / 5;
	}
	else 
	{
		f = n / 5;
		f += 1;
		cout << f;
	}
}
Editor is loading...