Search:

Type: Posts; User: webbizdesign

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    1,752

    I have my code working how it should except when...

    I have my code working how it should except when the first and second word begin the same. For example,

    if the input is> abc def abcdef

    the final output should be> def def abcdef

    What it's...
  2. Replies
    5
    Views
    1,752

    help with strings

    I'm having trouble with the function 'replace' in my program. The program is supposed to work where the user enters a string of 2 or more words. It first checks to how many times the 1st word is...
  3. Replies
    3
    Views
    1,343

    how would I do that?:confused:

    how would I do that?:confused:
  4. Replies
    3
    Views
    1,343

    Help with Array

    I have 2 constant arrays
    int set1[10] = {1,2,3,4,5,6,7,8,9,10};
    int set2[5] = {2,4,7,9,11};

    I need to compute their union, difference, and intersection.
    The union works fine. For some reason,...
  5. Replies
    1
    Views
    1,455

    Quick help

    I'm trying to get the program to print the union between sets 1 and 2. The union would be the set of all elements in both set1 or set2.




    #include <stdio.h>

    void Set_print(int a[], int n,...
  6. Replies
    5
    Views
    2,921

    this is what I have so far. I'm not getting all...

    this is what I have so far. I'm not getting all possible combinations.






    #include <stdio.h>

    main()
  7. Replies
    5
    Views
    2,921

    Help with using nested For

    I have to design a program where

    input > any positive integer
    output > all combos of 3 integers whose sum add up to input

    using 3 nested for loops, number1 <= number2 <= number3 and number1,...
Results 1 to 7 of 7