---
title: "Discussion on \"Trailing Zeroes\" | Hashnode"
description: "Discussion on \"Trailing Zeroes\". Your task is to calculate the number of trailing zeroes in the factorial n!\nfor example, 20! = 2432902008176640000\nInput\nThe only input line has an integer n.\nOutput\nPrint the number of trailing zeros in n!\nConstraints\n\n1 <= n <= 10^9\n\nExample\nInput:..."
url: "https://hashnode.com/posts/trailing-zeroes/65c3360bad28a253ea0d40c9"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Trailing Zeroes](https://ramandeepsingh.hashnode.dev/trailing-zeroes?utm_source=hashnode&utm_medium=feed)

Your task is to calculate the number of trailing zeroes in the factorial n! for example, 20! = 2432902008176640000 Input The only input line has an integer n. Output Print the number of trailing zeros in n! Constraints 1 <= n <= 10^9 Example Input:...

Feb 7, 2024 · 1 min read · ramandeepsingh.hashnode.dev  
Read the article

## Written by

[Ramandeep Singh](https://hashnode.com/@ramandeepSingh)

@ramandeepSingh · Rajasthan, India

  
[View profile](https://hashnode.com/@ramandeepSingh)

Enlivening the Dreams :D

A programming enthusiast trying to give share my knowledge with the community :D

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
