Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урокОбсуждения
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 ответовАктуальное сегодня
What's the error in this code?
1 Votes
How to find image links
0 Votes
Py to Exe
0 Votes
I don’t know why but python seems to be harder than java to me does any body else fell like this?
0 Votes
What's wrong with my code?
0 Votes
How I can win more Heart?
0 Votes
TIMER
0 Votes