Обсуждения
Freelancer or employee
16 голосов
30 ответовfreelancer or employee ??
11 голосов
22 ответовProblem solving in java
1 голос
27 ответовCheck employee code if it is valid
0 голосов
1 ответ#include <iostream>
using namespace std;
class employee
int main()
{
private:
double salary;
public:
void getsalary(double sal)
{
salary=sal;
}
void display()
{
cout<<"the salary:"<<salary;
}
};
void main ()
{
employee programmer;
employee manager;
manager.getsalary (60000.0);
programmer.getsalary(40000.0);
manager.display();
programmer.display();
return 0;
}
1 голос
5 ответовАктуальное сегодня
Which is the error in this code
1 Votes
Control Flow
2 Votes
Animations
2 Votes
How to use the get() method
2 Votes
So this what I'm trying to solve
2 Votes
Game Dev Path
1 Votes
How to get account back?
1 Votes
PHP Tutorial Idea
1 Votes
Problem whit Javascript
1 Votes