Is it possible to solve this problem in c++?

Write a program that counts the numbers from 3 to 117. But for multiples of three add 3 instead of 1 and for the multiples of five add 5 instead of 1. For numbers which are multiples of both three and five add 15 instead of 1. Ex: If we are looking at numbers 5 to 15 (inclusive), the program would output 39.

## Maritimo 15

## ryantroop 162

## ddanbe 2,720

## NathanOliver 429

## NathanOliver 429

## NathanOliver 429

## NathanOliver 429

## sneekula 969

ddanbe
commented:
Nice +15