Electronic beyblade trading card game

I need to do c++ programming without using array and function.please help me.i attach file below.