increment subitem

Inputs

  • count of items
  • count of subitems
  • 1 item = X subitems
  • increment subitem

Outputs

  • count of items
  • count of subitems

Neuron type

Checked - ready to generate algorithm

Patterns

Pattern Input Output
1.
count of items: 2000
count of subitems: 1
1 item = X subitems: 12
increment subitem: 5
count of items: 2000
count of subitems: 6
2.
count of items: 2018
count of subitems: 5
1 item = X subitems: 12
increment subitem: 24
count of items: 2020
count of subitems: 5
3.
count of items: 0
count of subitems: 50
1 item = X subitems: 60
increment subitem: 20
count of items: 1
count of subitems: 10

Applicable neurons

  • Plus (x + y)
  • Minus (x - y)
  • Division (x รท y)
  • 1
  • a > b
  • a = b
  • a < b
  • IF a=b THEN c ELSE d
  • IF (1) THEN a ELSE b
  • If number is without decimal part then X else Y
  • Radians into degrees
  • Connect - three inputs
  • Connect - two words (with space)
  • character o
  • (a, b]
  • Contains string any digit?
  • Is odd?
  • One child with two parents

Algorithm

Algorithm not exists


Create your family tree for free