1. Course
  2. Flow controls B
  3. Multiples numbers

Multiples numbers


Last updated: 8/22/2020 Difficulty: Intermediate

Create a C# program that shows numbers 1 through 500 that are multiples of 3 and also multiples of 5.

Input


                    
                    

Output

15 30 45 60 75 90 105 120 135 150 165 180 195 210 225 240 255 270 285 300 315 330 345 360 375 390 405 420 435 450 465 480 495

Solution

Flow controls B

2 / 8

Android App


Practice C# anywhere with the free app for Android devices.

Android App

Exercises C# by difficulty


Learn C# at your own pace, the exercises are ordered by difficulty.

Advertising