User Profile

Collapse

Profile Sidebar

Collapse
awaisworld13
awaisworld13
Last Activity: Dec 12 '08, 07:37 PM
Joined: Nov 28 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • awaisworld13
    started a topic Finding Posistion of array elements
    in C

    Finding Posistion of array elements

    I want to write a program which take input and save the poistions of the array elements in another array.
    let if i enter an array
    A[0]= 4
    A[1]=1
    A[2]=2
    A[3]=3
    now the output array will hold
    1
    2
    3
    0
    i-e the posistions of the array elements starting from the smallest number.
    As 1 is the smallest number and it is on 1 posistion the output array will hold values like...
    See more | Go to post

  • awaisworld13
    started a topic Listing All Permutations Of A Set
    in Java

    Listing All Permutations Of A Set

    hello every one:
    i want to write a program in which a set is entered.two numbers of the set is also entered.it will print all the combinations and permutations on the out put screen.
    E-G
    if i have a set {1,2,3,4,5}
    if i select permutation for two numbers than it will print
    e-g
    1 2
    2 1
    1 3
    3 1
    1 4
    4 1
    1 5
    5 1
    2 3
    3 2...
    See more | Go to post
No activity results to display
Show More
Working...