Search:

Type: Posts; User: akif13

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    2,566

    Search the data in the linked list

    How can I search the data? I want to get the output like this. Anyone can explain to me? Thanks in advance.

    ==============================
    Enter a data to search: 44
    DATA FOUND!...
  2. Replies
    4
    Views
    1,973

    How to access private members in class?

    Hi. I received errors such as float bmi is a private members. How can I access the private members in the main? Thanks in advance.



    #include <iostream>
    using namespace std;


    class BMI
    {
  3. Replies
    4
    Views
    1,573

    If I remove line 148, I will get the correct...

    If I remove line 148, I will get the correct output for the 2nd time and so on. But the question asked me to delete object inside line 140. What should I do?
  4. Replies
    4
    Views
    1,573

    The compiler stopped working

    Hello guys. Do any of you know why my compiler stopped working when user try to input "Enter your choice based on the number" for the 2nd time. The 1st time it worked correctly. I got the correct...
  5. Replies
    4
    Views
    999

    Oh! I didn't see that. Thanks. Last question, how...

    Oh! I didn't see that. Thanks. Last question, how do I display the correct amount of tickets and total amount. I don't think I put the wrong data member.



    cout <<...
  6. Replies
    4
    Views
    999

    Cannot get the correct output

    Hello guys, I need help in this exercise. The problem that occurred was when user input "y" at "Do you want to purchase .......", the output will show else statement inside void display(). What I...
  7. Replies
    3
    Views
    808

    Structure and Function

    Hello guys, I already done the coding for this exercise but I still can't find out how to get the correct names for "Types" and also for "continue". I hope you guys can help me with a simple and...
  8. Replies
    2
    Views
    905

    Need help with "Function"

    Hello guys, I need to display this output on my screen but I don't know what's wrong with my formula. It keeps displaying my salary that I entered even though I put get_bonus and get_nett_salary....
  9. Replies
    5
    Views
    2,466

    I've edited the codes but now I keep getting...

    I've edited the codes but now I keep getting errors like "expected expression before '>' token".

    I thought this is an expression


    if (unit => 100 && unit <= 200)


    By the way, can I know...
  10. Replies
    5
    Views
    2,466

    How to use if else statement?

    EXERCISE 3
    Write a program to calculate a salary of a salesperson based on the unit of items sold.
     Get the staff name, salary and the units sold.
     Get the bonus percentage for sales as shown in...
Results 1 to 10 of 10