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!...
Type: Posts; User: akif13
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!...
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
{
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?
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...
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 <<...
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...
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...
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....
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...
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...