Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Other Programming > Assembly Language
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Assembly Language section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 16th, 2005, 11:48 AM
Registered User
 
Join Date: Nov 2005
Location: mumbai, Maharastra, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help me writing code

I would appreciate if anybody would like to help me developing the code for the following program.
Thanks
Jumpin

Allow the user to type in a 3x3 table of three digit positive numbers. Store the values in a word array in memory named ARRAY. Be specific when you ask for each row of numbers.

Display the 3x3 array of numbers.

Ask the user which row he would like to see. Display the requested row as a row. Use words to describe the particular row you are displaying. Ask the user which column he would like to see. Display the requested column as a column. Use words to describe the particular column you are displaying. Ask the user if he would like to see other rows and columns. Continue displaying and asking until the user says no, he does not want to see anymore!!

Sample output: (I will underline what the user types in!)

This program allows you to enter a 3x3 table of three digit numbers.
Please enter your three numbers for row 1
123
-134
Sorry, you must key in 3 digit positive numbers. Try again
134
156

Please enter your three numbers for row 2
211
22
Sorry, you must key in 3 digit positive numbers. Try again
222
233

Please enter your three numbers for row 3
321
345
389

Here is the 3x3 table of values you submitted:
123 134 156
211 222 233
321 345 389

Which row would you like to be displayed? 2
Your second row is:
211 222 233

Which column would you like to be displayed? 2
Your second column is:
134
222
345

Do you want to see other rows and columns? (Y/N) Y

Which row would you like to be displayed 3

Your third row is:
321 345 389

Which column would you like to be displayed 2
Your second column is:
134
222
345

Do you want to see other rows and columns? (Y/N) N
GOODBYE!

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disabling the BACK button by writing jsp code sumon_24_feb JSP Basics 3 July 14th, 2006 12:41 AM
Writing Client Side Script from Code-Behind code sajid_pk Classic ASP Databases 1 January 18th, 2005 12:53 AM
Code Writing Conventions richard.york PHP FAQs 0 April 5th, 2004 08:23 PM
assistance writing code for a javascript arrray elogics Classic ASP Basics 1 December 30th, 2003 05:24 PM
Writing VBA Code for DOS Commands dgarcia1128 Access VBA 7 August 3rd, 2003 08:07 AM



All times are GMT -4. The time now is 07:50 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.