Sponsored Links


Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: CS201 Introduction to Programming Assignment No 02 idea solution april Spring 2011

  1. #1
    Administrator Vuhelper's Avatar
    Join Date
    Apr 2011
    Posts
    8,835

    18 CS201 Introduction to Programming Assignment No 02 idea solution april Spring 2011

    Sponsored Links


    Problem Statement: Sorting two matrices

    You are required to write a program which takes two 3x3 matrix A and B containing 09 elements each and sort all these 18 elements in descending order and put it in one dimensional array and then display it.

    Follow the following steps to code this program
    1. Take two two-dimensional arrays as A[3][3]and B[3][3] and one-dimensional array C[] to keep the result.
    2. Prompt the user to enter the elements of first matrix
    3. Prompt the user to enter the elements of second matrix
    4. Now take first element of first matrix and check in both matrix weather it is greatest or any other number is the greatest and put the greatest number at the first index of the one dimensional array. Follow this procedure for other elements and at the end one dimensional array would be in descending order
    5. Display this one-Dimensional sorted array on the screen

    Sponsored Links


    Following is the sample program structure


    2 3 5 2 8 7
    A= 6 5 9 B= 0 1 1
    1 0 2 4 7 9


    Output should be like this

    Please enter the Elements of First Matrix:

    Please enter the Elements of second Matrix:
    Attached Files Attached Files

  2. Sponsored Links
  3. #2
    Junior Member
    Join Date
    Oct 2010
    Posts
    5
    ye idea solution hy????

  4. #3

  5. #4
    Eska solution upload ker doo

  6. #5
    Junior Member Pari ch's Avatar
    Join Date
    Mar 2011
    Posts
    24
    plz cs 201 snd assignment spring 2011 ka solution idea upload kr dain

  7. #6
    Administrator Xpert's Avatar
    Join Date
    May 2010
    Location
    Jhelum
    Posts
    6,217
    ker detay han itni bhi kia jaldi hai app ko

  8. #7
    Administrator Vuhelper's Avatar
    Join Date
    Apr 2011
    Posts
    8,835

    16 cs201 solve assignment no 2 solution april 2011

    solution are in attachment
    Attached Files Attached Files

  9. #8
    Junior Member
    Join Date
    Apr 2011
    Posts
    10
    Thankss.....

  10. #9
    Administrator Xpert's Avatar
    Join Date
    May 2010
    Location
    Jhelum
    Posts
    6,217
    you are welcome. and wait for the other assignments solutions.

  11. #10
    Junior Member
    Join Date
    Oct 2010
    Posts
    5
    JAzaKAllah bhai g!!!

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 06-24-2013, 10:39 PM
  2. Replies: 5
    Last Post: 05-17-2013, 02:55 AM
  3. Replies: 1
    Last Post: 04-27-2013, 03:02 PM
  4. Replies: 4
    Last Post: 04-14-2012, 09:30 PM
  5. Replies: 0
    Last Post: 04-08-2011, 08:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
-: Vuhelp Disclaimer :-
None of the files shown here are hosted or transmitted by this server. The links are provided solely by this site's users. The administrator's or staff of Vuhelp.net cannot be held responsible for what its users post, or any other actions of its users. You may not use this site to distribute or download any material when you do not have the legal rights to do so. It is your own responsibility to adhere to these terms. If you have any doubts about legality of content or you have any suspicions, feel free to contact us.
Online Education | JhelumSoft