×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Interactive input output for Decimal numbers

Interactive input output for Decimal numbers

Interactive input output for Decimal numbers

(OP)
Actually I want to build a program which will add 2 decimal numbers and display its result on screen

I want that both the numbers should be provided by user as decimal inputs and output should also be in decimal . and it should be displayed on screen

Thanx in advance

Shantanu

RE: Interactive input output for Decimal numbers

Under what OS?

It can be outrageously simple in Win32 (at least I presume it would be, not that I ever tried it), and outrageously difficult in DOS16.

You mean interactive, as in, when the user inputs each single digit, the program automatically updates the output portion of the screen, that sort of thing?

Or you just want to input one number at a time, then output a number at the end?

"Information has a tendency to be free.  Which means someone will always tell you something you don't want to know."

RE: Interactive input output for Decimal numbers

(OP)
No actually I want to implement a simple two number interactive addition program ( as beginners of C write ) using Assembly Language .

Waiting For Reply !
Shantanu

RE: Interactive input output for Decimal numbers

Like, under what OS?

DOS has a function which will automatically get a string from the user, AH=09h if I remember right.  It's usually labelled "Microsoft recommends that you no longer use this function, unless you need it to maintain older code.  Use other functions." but don't believe that, command.com uses that function and I'll be gurned if Microsoft or anyone removes it and forgets to remove it from command.com/

"Information has a tendency to be free.  Which means someone will always tell you something you don't want to know."

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close