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
  • Half (0.5)
  • Volume Of a Cone
  • Sine (sinus) - degrees
  • x + 1
  • character i
  • when sentence contains a, return b, else return c
  • (-∞, x]
  • 12
  • 24
  • character f

Algorithm

Algorithm doesn't exists


Create your family tree for free