Next time you better enclose any code within the appropriate code tags! See the Posting Guidelines.
The writeln does no addition, it just echoes strings. Calculate the total and write that, e.g.[html]var total=parseInt(Num1)+parseInt(Num2);[/html]Then write 'total' to the screen.