Cube Root Program [Homework Help] Programming Software Development by tformed …][COLOR=#000000])[/COLOR] {[COLOR=#0000ff]int[/COLOR] cube; [COLOR=#0000ff]do [/COLOR]{ printf([COLOR=#800000…scanf_s([COLOR=#800000]"%d"[/COLOR] , &cube); [COLOR=#0000ff]double[/COLOR][COLOR=#000000] result;[/COLOR…quot;\n"[/COLOR]); }[COLOR=#0000ff]while[/COLOR] (cube !=-10094556); [COLOR=#0000ff]return[/COLOR][COLOR=#000000] 0… Re: Cube Root Program [Homework Help] Programming Software Development by trekkylee …COLOR=#000000])[/COLOR] {[COLOR=#0000ff]int[/COLOR] cube; [COLOR=#0000ff]do [/COLOR]{ printf([COLOR=#800000…([COLOR=#800000]"%d"[/COLOR] , &cube); [COLOR=#0000ff]double[/COLOR][COLOR=#000000] result;[/COLOR…quot;\n"[/COLOR]); }[COLOR=#0000ff]while[/COLOR] (cube !=-10094556); [COLOR=#0000ff]return[/COLOR][COLOR=#000000] 0… Re: Cube Root Program [Homework Help] Programming Software Development by tformed … [COLOR=#000000][/COLOR] {[COLOR=#0000ff]float[/COLOR] cube; printf([COLOR=#800000]"Please type in the number… scanf_s([COLOR=#800000]"%f"[/COLOR] , &cube); [COLOR=#0000ff]double[/COLOR][COLOR=#000000] result;[/COLOR] …12) : error C2065: 'result' : undeclared identifier 1>Cube Root - 2 error(s), 0 warning(s) ========== Build:… Re: Cube Root Program [Homework Help] Programming Software Development by John A … can just leave it as it is if (cube >= 0) { result= pow(cube, 1.0 / 3.0 ); } // negative means we need… make it positive, then add '-' sign else { result= - pow(abs(cube), 1.0 / 3.0); }[/code] If you want your loop… Re: Cube Root Program [Homework Help] Programming Software Development by Rashakil Fol The cube root of -2 isn't a real number. So you're not going to get a real answer. Re: Cube Root Program [Homework Help] Programming Software Development by tformed Are you serious? My calculator gives me -1.235992105 as the cube root of -2 Re: Cube Root Program [Homework Help] Programming Software Development by Rashakil Fol I am serious. There are three cube roots of -2 -- three values x for which x^3 = -… Re: Cube Root Program [Homework Help] Programming Software Development by tformed … declaring it like this: [COLOR=#0000ff]float[/COLOR][COLOR=#000000] cube,result;[/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000]instead of declaring… Re: Cube Root Program [Homework Help] Programming Software Development by tformed …. I thank all members who have helped me in this cube root program. :) Re: Cube Root Program [Homework Help] Programming Software Development by NathanOliver … is the square root of a negative number but for cube roots there are real answers. FYI all odd roots you… Cube Root Calculator Programming Software Development by mdbrock7 … learning. Anyway, the book mentions a method for calculating the cube root of a number but it doesn't give any… I get stuck on a particular problem? I googled "cube root calculator" but it didn't return much. I… Re: Cube Root Calculator Programming Software Development by mdbrock7 …; char c; c = ' '; while (c != 'q') { cout << "Cube Root Calculator" << endl; cout << endl…; endl; cin >> c; } cout << "Exiting Cube Root Calculator" << endl; cout << endl… Re: Cube Root Calculator Programming Software Development by mdbrock7 …; char c; c = ' '; while (c != 'q') { cout << "Cube Root Calculator" << endl; cout << endl…; endl; cin >> c; } cout << "Exiting Cube Root Calculator" << endl; cout << endl… Cube 2 like graphics engine Programming Game Development by jamesl22 Hi, I'm looking for a c++ open source graphics engine that works like cube 2 ([url]http://sauerbraten.org/[/url]). Essentially it is a basic shape only environment using only cube shaped objects and I was wondering if there was already a graphics engine suited to this. Thanks, James Re: Cube Root Calculator Programming Software Development by Dave Sinkula [url]http://www.google.com/search?q=cube+root+algorithm[/url] Re: Cube Root Calculator Programming Software Development by Narue … ( std::cin>> val ) { std::cout<<"Cube root of "<< val <<": "… Re: Cube Root Calculator Programming Software Development by mdbrock7 …; char programRepeat; c = ' '; while (programRepeat != 'q') { cout << "Cube Root Calculator" << endl; cout << endl… Cube Root Programming Software Development by m-soft Hello I have a number from maximum 255 digits. I must compute the cube root of this number with 10 decimals. Time of execution is 1 second Could you help me ? 10x cube development and MOLAP Programming Software Development by snengos has anyone ever really worked on Cubes i gotta come up with a cube and a number of virtual cubes asap cube texture problem Programming Software Development by muney13 ok, so when i create cube (pyopengl) and apply texture on it, some of the faces are transparent...how to make all faces to be solid? im new in python, and this really frustrates me, can someone help? Re: cube texture problem Programming Software Development by muney13 ok , this problem is solved by enabling GL_DEPTH_TEST now, there is another one, i need to make collision detection when zooming, another words, camera mustn't come through cube Cube texturing, and texturing in general. Programming Computer Science by TotoTitus … basic algorithm to render surfaces of an object? In a cube, for example, what surfaces are visible, and what surfaces are… Re: Cube texturing, and texturing in general. Programming Computer Science by gusano79 … basic algorithm to render surfaces of an object? In a cube, for example, what surfaces are visible, and what surfaces are… C# drawing cube Programming Software Development by gunnerone …the data and attempts to draw the cube. void drawIt() { txtInfo.Text … to change it so it draws the cube properly. class Nquad { //********************************************************************// // … Re: Square Root and cube Calculation Programming Software Development by kplcjl …Value: 6, Square: 36, Cube: 216, Sqrt: 2.44948974278318 Value: 7, Square: 49, Cube: 343, Sqrt: 2.64575131106459 …Value: 8, Square: 64, Cube: 512, Sqrt: 2.82842712474619 …Value: 11, Square: 121, Cube: 1331, Sqrt: 3.3166247903554 Value: 12, Square: 144, Cube: 1728, Sqrt: 3.46410161513775 … How do I place images on a rotating divided cube using Javascript? Programming Web Development by jeffphotos …puzzle that is like the "Rubik's Cube," although this puzzle is played on the…involves images placed on the sides of a cube. The mouse is used to rotate the sides… of the cube. Each side of the cube is divided into three sections. The…on each side of the puzzle cube (6 different photos per cube). The goal is to rotate the… How do I place images on a rotating divided cube using Java? Programming Software Development by jeffphotos …puzzle that is like the "Rubik's Cube," although this puzzle is played on the…involves images placed on the sides of a cube. The mouse is used to rotate the sides… of the cube. Each side of the cube is divided into three sections. The…on each side of the puzzle cube (6 different photos per cube). The goal is to rotate the… to calculate square and cube form given input using arrays.. Programming Software Development by maverick405 …then displays each with it's square (no * no) and cube (no * no * no), I am able to get … also in output I want user input number, square and cube the below is my code. #include <cstdlib>…//worknig { int index; cout << "\n\nThe cube root of the numbers are:\n"; for (index = 0… 3d cube + c#.net Programming Software Development by rajeshswain … I am preferring to give all the details of the cube in the code itself i.e. dimensions, colour etc..… details with the manner that is mentioned above. This cube will appear whenever I click on the specified button. …but unfortunately there are very few information available regarding drawing cube in C#.net. Any one please provide me a link… Re: How do I place images on a rotating divided cube using Java? Programming Software Development by cms271828 … need to stretch/scew the images when you rotate the cube (don't know if java 3D package deals with this…