Feb 18, 2015 at 5:16pm UTC
Hello,
I am having couple of problems with basic c++ programs could any one help me ?
1) write a C++ program that prompts the user to enter two real numbers(x and y ), evaluate z, and prints out the value of x,y,z
z=sqrt(x^2+y^2)
2) write a C++ program that prompts the user to enter two real numbers(x and y ), evaluate z, and prints out the value of x,y,z
z=ln(sin(pix/y))
3) write a C++ program that prompts the user to enter two real numbers(x and y ), evaluate z, and prints out the value of x,y,z
z=(3x^2)*(y^2)-(2*x*(y^2))
4) write a program that prints the sum of the first ten positive integers 1+2+3+...+10.
Feb 18, 2015 at 5:25pm UTC
If you have come up with some code and are stuck it would be good to post it. If you cannot write simple code you need to revisit your reference materials.