F&A Diskussionen
Русские помогайте
10 Stimmen
7 Antworten#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 Stimme
5 AntwortenHeute heiß
Java IDE for building a game.
1 Votes
a phone or a laptop
0 Votes
Where is code bit
0 Votes
Certificates
0 Votes
Regarding platform
1 Votes
Inquiry for img code
0 Votes