Write a program that finds the sum of all numbers between 0 and 120 (inclusive) that are multiples of 4 or 5. BONUS: allow the user to input their own values for all four variables (both ends of the range and the factors to find multiples).

- Forum Directory

Search

# Forum Directory

### Problem Sets

Post your unique solutions to these problems, or create your own! Views

4Posts

### Error Page

Encountered an issue with your code or robot? Ask the community for their advice here! Views

0Posts

### Discussions

Interested in sharing something? Discuss topics, problems and events here! Views

0Posts

New Posts

- Do you remember prime factorisation trees? 36 9 4 3 3 2 2 Using the diagram, you can see that 3 is the largest prime factor of 36. Your job is to create a program that outputs the largest prime factor of 40478. (BONUS: allow the user to input any number they wish while running the program)
- A prime number is a number that cannot be divided by any number other than 1 and itself (ie. 2, 17, 53, etc.). Find the sum of all prime numbers from 0 to 7600 (2 + 3 + 5 + 7 + 11 + 13... = ?).