Search:

Type: Posts; User: gulfx01

Search: Search took 0.00 seconds.

  1. swap portion? I have never seen "ii"

    swap portion? I have never seen "ii"
  2. ManyTimes, your code is wrong.

    ManyTimes, your code is wrong.
  3. Please help me to make this c++ code work. Only needs help with one part.?

    The only problem is this part:


    " num[i] ^= num[i+1];
    num[i+1] ^= num[i];
    num[i] ^= num[i+1]; "

    #include <iostream>
    #include <cmath>
  4. How to sort the array from smallest to largest in this code?

    #include <iostream>
    #include <cmath>

    using namespace std;

    double integrate(double lower, double upper);

    int main()
    {
    int ranges[][2] = {{0,1},{1,2},{2,3},{3,4},{4,5},{5,6},{6,7},{7,8},{...
  5. Replies
    1
    Views
    1,860

    Please help with my Arrays code.

    The instructions are:

    You will write a program that evaluates the integral of sin(x) using the left-hand rectangle rule with
    2000 subintervals, over 10 intervals. The intervals to test are [0,...
  6. Replies
    2
    Views
    3,759

    Help with an array involving integration?

    I am having trouble solving this problem with an array. Here are the instructions:

    You will write a program that evaluates the integral of sin(x) using the left-hand rectangle rule with
    2000...
  7. Needs help with my C++ code calculating Volumes with functions.?

    You will write a C++ program that calculates the volume of spheres or cubes based on user input. You will write C++ functions to calculate the volumes, and you will call these functions from your...
Results 1 to 7 of 11