Search:

Type: Posts; User: jbl772

Search: Search took 0.00 seconds.

  1. Replies
    11
    Views
    1,677

    Basically, the user inputs two values which are...

    Basically, the user inputs two values which are added and divided by 2 to get the mean.

    Using the mean, the values of A B and C are obtained. For example,

    184 = 1.84 x 10^2 (in scientific...
  2. Replies
    11
    Views
    1,677

    B needs to be an int value of whatever is after...

    B needs to be an int value of whatever is after the decimal.

    So for 7.4:

    A = 7
    B= 4 (not 0.4)
  3. Replies
    11
    Views
    1,677

    Edit: Ignore D (Nothing to do with my problems) ...

    Edit: Ignore D (Nothing to do with my problems)


    #include <iostream>
    #include <math.h>
    #include <stdio.h>
    using namespace std;
    int main()
    {
    int A, B, C, D;
  4. Replies
    11
    Views
    1,677

    I also tried using a loop while (mean>10)...

    I also tried using a loop



    while (mean>10)
    {
    B=mean%10;
    }
  5. Replies
    11
    Views
    1,677

    Hmm well basically the user inputs Rmin and Rmax...

    Hmm well basically the user inputs Rmin and Rmax values. Then the mean is computed.

    I have three variables, A B and C.

    A B & C are parts of the mean in scientific notation. For example,
    ...
  6. Replies
    11
    Views
    1,677

    How to only show decimal places and not int?

    Hey I'm really stuck on how to show only decimal places in a number.

    For example, if I had 1.234 I would only want to output .234
Results 1 to 6 of 6