Untitled
#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; } }
#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; } }