could someone please provide me with the answersd to the following c++ problems, they are simple problems which are probably an insult to most of your intelligence but i'm clueless and desperate.
THANKS FOR HELPING:o
1. how would you write this expression in c++? assume all variables are of type double and are named with single letters.
square root of a + 5
cd - |e|
ans=
2. what can be the values of an expression with a relational operator?
ans=
3. The relational operator>=means ans=
4. write a line of c++ code which would assign the value 'true' to boolian variable flag if x is less than or equal to 10.
ans=
5. what is the name of the header file which contains the c++ code for the function getch() ?
ans=
6. findave is a function which calculates the average of x and y and returns the value in ave. Write the function prototype.
ans=
7. write the function for findave described in the previous question.
ans=
8. given the following array named test:
23.0 -2.1 667.4 99.23
write a c++ statement to assign 4.1 to the element indexed by 2
ans=
9. if i is 2, what is stored in test
ans=
10. what is 2 + test[0]?
ans=
11. write c++ code to access the element that contains -2.1
ans=