Product of 10 numbers

  • 2
  • Locked
Do you think you can easily multiply ten consecutive numbers from 1 to 10 in your mind? If this seems easy to you, you've probably never tried it. Here's a hint: the product is not a small number; it's more than three million. But this is easy for a computer: the important thing is to tell it how to do it.
You can't complete this task, because you're not signed in.
Comments (7)
  • Popular
  • New
  • Old
You must be signed in
LumoLevel 7 , Chisinau
11 June, 11:57
remember about how factorials work, you can build an easy for loop.
Clarence L MackeyLevel 3 , Fresno
11 June, 03:58
I wanted to add more but the compiler would not let me
ThomasLevel 7 , Scottsdale
20 May, 20:27
See Help from Raivo ( he got me through this ) --- https://codegym.cc/dialogues/46473
amaralLevel 4 , Delhi
22 October 2018, 10:32
whats wrong with this code my output is 3110400 and it does not match with the task plzz help me
RomanLevel 41
23 October 2018, 05:58
If you need help, something isn't right in your code, the server won't accept your solution (even if you are 100% sure that it is correct). Describe your question/issue in the HELP section at codegym.cc/help.
devikaLevel 4 , Hyderabad
20 January, 14:05
use for loop friend so that you will achieve
AustinLevel 6 , Lansing
24 April, 19:18
Or just multiply. Why work harder than you have to?