EASy68K  
It is currently Tue Jul 07, 2020 3:49 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: nested loop
PostPosted: Sat Mar 16, 2013 10:28 am 
Offline

Joined: Sat Mar 16, 2013 10:23 am
Posts: 1
hi guys
would u please help me to get these outputs using nested loop ??
output 1 )

1
2 3
3 4 5
4 5 6 7
5 6 7 8 9


output 2)

5
4 5
3 4 5
2 3 4 5
1 2 3 4 5

your help will be highly appreciated ..
regards ...


Top
 Profile  
 
 Post subject: Re: nested loop
PostPosted: Sat Mar 16, 2013 12:51 pm 
Offline
User avatar

Joined: Thu Dec 16, 2004 6:42 pm
Posts: 1126
This looks too much like a homework problem. We don't do homework problems here because that would defeat their purpose. Approach a programming assignment in Assembly language the same way any programming assignment should be approached.
    1. Diagram the logic. Use a flowchart or pseudocode.
    2. Verify and test your logic before proceeding.
    3. Write the code as described in your logic diagram.
    4. Test.
    5. Repeat steps as necessary until the solution is correct.

_________________
Prof. Kelly


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group