Home > other >  The assembler output of Yang hui triangle can choose positive sequence and the reverse order
The assembler output of Yang hui triangle can choose positive sequence and the reverse order

Time:12-29

Generated assembly according to the key choice, Yang hui triangle, enter "1" key, generate positive blue Yang hui triangle (that is, each row element from less to more), input "2" key, generates negative red Yang hui triangle (that is, each row element from more to less),
Print to N, N by keyboard input, requirement: prompt for a integer N. Keyboard input, the end of the Enter key inputs, and line shows the results,
  • Related