Advertisement
Guest User

Untitled

a guest
Apr 26th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 0.55 KB | None | 0 0
  1. <template>
  2.         <form>
  3.             <label for=inputs>number of inputs</label>
  4.             <input type=number min=1 value=3 name=inputs>
  5.             <label for=outputs>number of outputs</label>
  6.             <input type=number min=1 value=2 name=outputs>
  7.         </form>
  8.         <table>
  9.             <thead>
  10.                 {subroutine}
  11.                 <tr>
  12.                     {from 0 as input to inputs repeat}
  13.                     <th>{input}</th>
  14.                     {from 0 as output to outputs repeat}
  15.                     <th>{output}</th>
  16.                 </tr>
  17.             </thead>
  18.             <tbody>
  19.                 {from 0 to 2**inputs repeat}
  20.                 <tr>
  21.                     {do subroutine}
  22.                 </tr>
  23.             </tbody>
  24.         </table>
  25.     </template>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement