Find Jobs
Hire Freelancers

Age conversion program

$30-100 USD

Abgeschlossen
Veröffentlicht vor mehr als 20 Jahren

$30-100 USD

Bezahlt bei Lieferung
**1. Arrays of people** first of all, make a project called prog1_arrrayPeople, and add a new c++ source file called array_people.cpp. The requirements for this program are: To allow the user to enter details for upto 10 people. After the user has finished, these details are displayed on the screen. There is only one detail about each person - their age! An integer is used to store this information, and this represents the age of the person measured in days. For example , the age of a one-year old baby is '365'. **Include the following source code in this file.** *class Person { Private: int age; public: void set_age(int a); int get_age(); void print(); void input(); }; void person::input() { cout << "age?" < cin >> age; } Void Person::set_age(int a) { age=a; } int Person::get_age() { return age; } Void Person::print() { cout << "age is " << age << "days. " << endl; }* Then define an empty main function (at this stage its good to check that your program compiles). The require for this program is to let the user input the details of 10 or less people, and for this information to be stored in the program and then to be printed out. Declare an array of ten people - e.g. Person people[10] and an integer that will gold the number of people input so far - eg num_stored. The first loop will continue repeating round allowing the user to enter details into the next instance in the array until either the array is full up or the user decides to stop. The second loop should print out all the details entered by the user. There are 3 more questions which manipulate this program in a calculation and a sort operation please see the zip file attached. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased. ## Platform needs to run on windows nt, 2000, xp
Projekt-ID: 2965636

Über das Projekt

3 Vorschläge
Remote Projekt
Aktiv vor 21 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
Vergeben an:
Avatar des Nutzers
See private message.
$16,99 USD in 1 Tag
5,0 (160 Bewertungen)
6,0
6,0
3 Freelancer bieten im Durchschnitt $17 USD für diesen Auftrag
Avatar des Nutzers
See private message.
$8,50 USD in 1 Tag
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
See private message.
$25,50 USD in 1 Tag
0,0 (3 Bewertungen)
0,0
0,0

Über den Kunden

Flagge von UNITED KINGDOM
United Kingdom
2,5
1
Mitglied seit Aug. 20, 2003

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.