Terminé

Hire a C++ Programmer - 10/09/2017 14:09 EDT

Week 1 Assignment - Pt 1

Write a program that has main() call a user-defined function that takes a distance in light years as an argument and then returns the distance in astronomical units. The program should request the light year value as input from the user and display the result, as shown in the following code:

Enter the number of light years: 4.2

4.2 light years = 265608 astronomical units.

An astronomical unit is the average distance from the earth to the sun (about 150,000,000 km or 93,000,000 miles), and a light year is the distance light travels in a year (about 10 trillion kilometers or 6 trillion miles). (The nearest star after the sun is about 4.2 light years away.) Use type double (as in Listing 2.4) and this conversion factor:

1 light year = 63,240 astronomical units

Week 1 Assignment - Pt 2

Write a program that asks the user to enter an hour value and a minute value. The main() function should then pass these two values to a type void function that displays the two values in the format shown in the following sample run:

Enter the number of hours: 9

Enter the number of minutes: 28

Time: 9:28

Compétences : Programmation C++, Computer Science

en voir plus : want to hire c++ programmer, how much to hire c programmer, hire c++ programmer tutor, c++ programming jobs salary, list of companies using c++, c++ programming jobs from home, c++ programmer software free download, freelance c++ programming jobs, hiring problem algorithm, how to work on freelancer, online c++ projects, hire c++ programmer in van nuys no need exp, hire c++ programmer in van nuys, hire c programmer free lance, leicester hire c++ programmer, leicester hire c programmer, hire c++ programmer, hire c++ programmer singapore, hire c++ programmer freelancer, hire c# programmer

Concernant l'employeur :
( 2 commentaires ) Austin, United States

Nº du projet : #15140046

Décerné à:

%selectedBids___i_sum_sub_4% %project_currencyDetails_sign_sub_5% USD en 1 jour
(169 Commentaires)
6.1

6 freelance font une offre moyenne de $25 pour ce travail

xeathprynx

Hello, i am expert in java/c/c++ and i can deliver any task in least time and least payments. Pm me for further details. Thank You! Stay tuned, I'm still working on this proposal.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(97 Commentaires)
5.6
liangjongai

Hi! I'm interesting your project very well. I am mastering c++ and I'm a good Mathematician. And also I have many experience and good skill about web and android development. Let's go ahead with me Stay tuned, I'm s Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(25 Commentaires)
4.4
%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(21 Commentaires)
4.1
Sajid909

I have done too many projects, Relevant Skills and Experience Software Project Requirement Proposed Milestones $25 USD - 1st milestone

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(1 Évaluation)
0.8
%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 0 jours
(0 Commentaires)
0.0