C++ mini project

Completed Posted 6 years ago Paid on delivery
Completed Paid on delivery

Hello everyone!

I have these simple tasks for a teaching course. Ian give 20 usd to anyone who can do these, it should take max 1-2 hours for someone with basic C++ knowledge, I will provide a perfect review. Its 7 small tasks :

I. If the average value of a sequence of values is: "the number for which exactly half of the sequence is preceded and exactly the other half is followed". Then, correct the below program to always show the average value.

1. #include "std_lib_facilities.h"

2. int main ()

3. {

4. vector <double> temps;

5. double temp;

6.

7 while (cin >> temp)

8. temps.push_back (temp);

9.

10. sort ([login to view URL] (), [login to view URL] ());

11. cout << "Average temperature:"

12. << temps [[login to view URL] () / 2]

13. << endl;

14.

15. return 0;

16.}

II. We know that: the character 'b' is char ('a' + 1), the character 'c' is char ('a' + 2). Use a loop to display a character table with the corresponding integer values:

and 97

b 98

 

...

of 122

III. Write a program that displays a message when words that you do not like appear. The words you do not like will be embedded in the program code. The user will enter repeating words (so you will need to set an appropriate termination condition of your choice). At the same time, each word will appear (directly) on the screen, except that if you do not like a word, you will see the word BLEEP instead.

IV. Write a program that converts euro currencies to currencies in another country. If you want to be as accurate as possible, you will find currency exchange rates on the web.

How to run:

In the first step, the user will enter the names of the currencies and their parity. In the second step, the user will select the number of currencies in euro and the currency of the country in which they wish to convert.

The program will run repeatedly. Therefore, you should give the user the ability to end the application by setting an appropriate termination condition of your choice

Steps:

1. Implement the program for 2 currencies

2. Implement the program for 3 coins

3. Implement the program for any number of coins. Note: You should allow the user to complete the introduction of currencies and parities (ie the first stage) by setting an appropriate termination condition of your choice

V. Make a square function, which calculates the square of an integer number without using the operator *. The statement of the function should be: int square (int x);

 

Then, implement a cube function, which calculates the cube of an integer number without using the operator *. The statement of the function should be: int cube (int x);

1st task

Expand the IV program (currency conversion) to convert any currencies (not necessarily euros) into currencies in another country.

2nd task:

Make a power function, which calculates any force of an integer, without using the operator *. Provide an appropriate statement of the function.

Note: You must implement the function without using calls to existing libraries that export the desired result, e.g. pow ().

Algorithm C Programming C++ Programming Software Architecture

Project ID: #15554923

About the project

24 proposals Remote project Active 6 years ago

Awarded to:

$20 USD in 1 day
(18 Reviews)
4.0

24 freelancers are bidding on average $22 for this job

it2051229

I checked the requirements and I would like to do this project if given the opportunity. Let me know if you are interested. Thanks.

$20 USD in 1 day
(902 Reviews)
7.4
hbxfnzwpf

I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using c++ under Linux environ More

$40 USD in 1 day
(141 Reviews)
7.0
kaloyan13

I am available for work, and can finish in 2-3 hours. Thank you.....................................

$40 USD in 1 day
(301 Reviews)
6.9
PATechnology

A proposal has not yet been provided

$25 USD in 5 days
(38 Reviews)
4.8
amolupraity

I have excellent C++ skills. These tasks will be completed within two hours. I will also comment the code as per the requirements.

$20 USD in 1 day
(19 Reviews)
4.0
WayneTech00

Hi, I can do your required tasks and follow the instructions strictly. And provide you a clean and well written code in only $10! :)

$10 USD in 1 day
(6 Reviews)
2.8
thomp

Hi, I can do this for you today. I have over five years C++ experience. The tasks listed are well within my abilities. Please chat with me if you wish to discuss the project. I'll need you to confirm that this More

$30 USD in 1 day
(5 Reviews)
2.7
alinayyar

I will provide you quality work in minimum possible time. I have more than 7 years work experience in RnD organizations. My experience might make me over qualified for this job. But i have reduced price to start workin More

$13 USD in 1 day
(3 Reviews)
2.3
rushidadhaniya

I am experienced C++ developer and can easily help you with the project. Is there any thing thats needs to be done apart from the mentioned project in description?

$25 USD in 1 day
(1 Review)
1.5
amitvis07

A proposal has not yet been provided

$20 USD in 2 days
(0 Reviews)
0.0
rabiyaarshad456

I would like to do this project. As I am seeking my first project I am charging low. Please award me the project to start.

$12 USD in 1 day
(0 Reviews)
0.0
wordworld999

A proposal has not yet been provided

$25 USD in 3 days
(0 Reviews)
0.0
ChebliZaki

This project seem trivial to work on it,7 years of C/C++ should be enough. I'm more than able to provide a good satisfactory code. I. i need a numerical example for the first task, i have an idea but i want be sure More

$18 USD in 1 day
(0 Reviews)
0.0
sadamcheema

i have perfect knowledge related your project and just new here but doing these type of projects since 2015

$20 USD in 1 day
(0 Reviews)
0.0
vdeesoft

I have reach experience in C++ product development. Experience, Commitment, Quality of work, timely n accurate update are my strength

$25 USD in 1 day
(0 Reviews)
0.0
freelancer13690

Have 4+ yrs of experience in C and C++ development. We can discuss further if you want me to work on it.

$20 USD in 2 days
(0 Reviews)
0.0
gunanksood

I have good experience in programming so i can solve all your problems if you allow me to do this project i will give it to you on time.

$25 USD in 1 day
(0 Reviews)
0.0
piyushkandoi97

I am good with C++, currently practicing questions in it and so would love to solve these questions.

$10 USD in 2 days
(0 Reviews)
0.0
alejandrogiussi

Is mandatory the use of "std_lib_facilities.h" in the programs? Not that there is a problem with that (that library is a helper from Bjarne Stroustroup's "Programming principles and practice using C++") just that the More

$20 USD in 1 day
(0 Reviews)
0.0