Skip to main content
February 7, 2023
Solved

Displaying multiples of 5 from 100-200, include every value which is having number "5"

  • February 7, 2023
  • 2 replies
  • 0 views

Hi All,

I have numbers between 100-200 and I want to display the 5 multiples and 5 included numbers.

Sample output: 105,110,115,120,125,130,135,140,145,150,151,153,154,155,156,157,158,159,160,165,170,175,180,185,190,195,200

    2 replies

    stefanhelzle0001
    February 7, 2023
    ayusha3676
    February 13, 2023

    a!forEach(
      items: enumerate(100)+100,
      expression: if(or(
        mod(fv!item,5)=0,
        find(5,fv!item)<>0
      ),
      fv!item,
      {}
      )
    
    )