Home PEx Chat Small Talk

Prove 10 + 10 = 26

1235»

Comments

  • ubermenschubermensch PEx Influencer ⭐⭐⭐
    ^ Correct. Dun kasi sa isang post mo, 10(1/10) ang nilagay mo, so maccie correctly computed it as 1.
  • jdashjdash PEx Influencer ⭐⭐⭐
    ! 10+10 !
    _____
  • ermonskiermonski PEx Influencer ⭐⭐⭐
    identification division.
    program-id. pexprog01
    *************************************
    environment division.
    file-control.
    select prtfle assign to output1.
    *************************************
    data division.
    file section.
    fd prtfle
    label record is standard
    recording mode f
    record contains 132 characters
    data record is prtline

    01 prtline pic x(132).
    *************************************
    working-storage section.
    01 variables.
    05 x pic 9 value 13.
    05 y pic 9.

    01 print-file
    05 filler pic x(11) value '10 + 10 = '.
    05 prt-ans pic 99.
    *************************************
    procedure division.
    100-main
    perform 200-init-rtn
    perform 300-proc-rtn
    stop run.

    200-init-rtn.
    initialize variables.

    300-proc-rtn
    compute y = x + x
    move y to prt-ans
    write prtline from prt-ans.

    ======================================================

    OUTPUT:

    10 + 10 = 26
  • Ice BurnIce Burn PEx Influencer ⭐⭐⭐
    :yuck:

    :lol:
  • alvindmalvindm PEx Influencer ⭐⭐⭐
    let 10 = 13

    > 10 + 10 = 26
    > 13 + 13 = 26

    wahehehe

    i like! :rotflmao:
  • ermonskiermonski PEx Influencer ⭐⭐⭐
    may kulang pa ako dun sa code ko nyahaha, nakalimutan ko i-close yung prtfle haha!
Sign In or Register to comment.