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 ()
4. vector <double> temps;
5. double temp;
7 while (cin >> temp)
8. temps.push_back (temp);
10. sort ([login to view URL] (), [login to view URL] ());
11. cout << "Average temperature:"
12. << temps [[login to view URL] () / 2]
13. << endl;
15. return 0;
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:
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
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);
Expand the IV program (currency conversion) to convert any currencies (not necessarily euros) into currencies in another country.
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 ().
24 pekerja bebas membida secara purata $22 untuk pekerjaan ini
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?