Okay, this is the question that i need to solve using mathematica:(adsbygoogle = window.adsbygoogle || []).push({});

Define the function f(n) which counts the number of zeros in n if n is the integer greater than 0.

If you input 105, 1005, 10005, find f(n).

I want to use Module in this question and I just found out that i have to use "Mod", "Count" and "Floor" but still havent figured out this. Please help!

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Beginner to Mathematica's question! using Module!

**Physics Forums | Science Articles, Homework Help, Discussion**