Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

factorial

I need help with my code, whenever I put in


message db ' !is '
a dd n!
b dd n
c dd fact


I am getting an error for n!....My error is "comma expected after operand 1"

Comments

  • Josh CodeJosh Code Member Posts: 675
    : I need help with my code, whenever I put in
    :
    :
    : message db ' !is '
    [red]: a dd n[b]![/b][/red]
    : b dd n
    : c dd fact
    :
    :
    : I am getting an error for n!....My error is "comma expected after operand 1"
    :
    :

    Instead of the "n!", put an initial value.

    for example,
    [code]
    b dd 1 [blue]; initial value of b is 1.[/blue]
    [/code]
Sign In or Register to comment.