File: some_math.vpp

package info (click to toggle)
vbpp 1.1.0-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 480 kB
  • ctags: 277
  • sloc: sh: 2,496; ansic: 1,474; lex: 1,097; yacc: 511; makefile: 157
file content (10 lines) | stat: -rw-r--r-- 131 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
`let n=1
`let o=2
`let p=3
`let x=0
`for (i=100; i>0; i--)
`let x=i*n*o*p + x;
`if (i == 1)
  note that total is `x
`endif
`endfor