Howdy, Stranger!

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

Categories

an example please

littlebrolittlebro Member Posts: 3
hello people! bear with me.

i need an example of an actual TASM code that does this.

1. Asks the user to input an integer

ENTER AN INTEGER:

2. store that in a variable named num1

3. performs this: 7*(num1 - 8)/4

(i asked this just to know how to handle basic math)

4. displays the result of the formula in #3

THE RESULT IS:

i use TASM 5, and work in a 16-bit DOS environment.

AGAIN, please just provide the actual code and that will help me a lot already.

thanks so much for your time.


Sign In or Register to comment.