Search:

Type: Posts; User: yeohwl91

Search: Search took 0.00 seconds.

  1. thanks to BillyTKid. My problem solved.

    thanks to BillyTKid. My problem solved.
  2. how should i write for cout

    how should i write for



    cout << setiosflags( ios::fixed | ios::showpoint )
    << "The total retail value was: " << setprecision( 2 )
    << total << endl;
  3. my lecturer ask us to do c program,not c++ is...

    my lecturer ask us to do c program,not c++
    is there anyway to write the c program have the same function with iostream and iomanip?
  4. I using code::block and MinGW

    I using code::block and MinGW
  5. fatal error: iostream: No such file or directory

    #include <iostream>
    using namespace std; //Added
    //
    #include <iomanip>




    int main()
    {
  6. Replies
    1
    Views
    1,074

    About mathematical programming problem...

    #include <stdio.h>int num1;
    void a()
    {
    printf( "%f\n",3.40*num1 );
    }
    void b()
    {
    printf( "%f\n",11.30*num1 );
    }
    void c()
  7. Replies
    14
    Views
    13,580

    print out Enter Calculation scan the maths...

    print out Enter Calculation
    scan the maths expression
    if operation is addition
    then print out number 1+number 2=answer
    else if operation is substraction
    then print out number 1-number 2=answer...
  8. Replies
    14
    Views
    13,580

    scanf (mathematical expression) if (calculation...

    scanf (mathematical expression)
    if (calculation is not division)then (go to the calculating and round off value into 2 decimal places)
    if (calculation is division)
    then (check whether denominator...
  9. Replies
    14
    Views
    13,580

    i not really understand what is pseudo code, but...

    i not really understand what is pseudo code, but i try to write it. Help me check whether correct or not, thanks a lot.


    input (mathematical expression)
    if calculation is not division
    then go...
  10. Replies
    14
    Views
    13,580

    i have no idea how to make it bigger, because i...

    i have no idea how to make it bigger, because i just print screen from the microsoft word. please download below attachment and help me check.

    10913
  11. Replies
    14
    Views
    13,580

    help me to check whether my flowchart have...

    help me to check whether my flowchart have problem?
    thanks...



    #include <stdio.h>


    int main()
    {
  12. Replies
    14
    Views
    13,580

    iceaway, thanks so much!i got it! #include...

    iceaway, thanks so much!i got it!


    #include <stdio.h>


    int main()
    {
    float num1, num2;
    char operation;
  13. Replies
    14
    Views
    13,580

    simple calculator problem...

    below is my calculator programming.I want to make it show "maths error" when any number divided by 0, but i get any number +,-,*,/ by 0 also get maths error.I need u guys to correct my...
  14. how to write a program of a simple calculator?

    i'm new to the C programming. So, i need u guys help. i want to write a program of a calculator which can solve addition,subtraction, division and multiply. however, 0 cannot divide by any number....
Results 1 to 14 of 14