No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
ill show the problem in the book first then ill tell you what i know. ___________________________________________________________________________ Then following formula gives the distance between two points (x1,y1) and (x2,y2) in the Cartesian plane: √ (x2-x1)^2 + (y2-y1)^2 its the distance formula..hard to type on here Given the center and a point … |
|
I am having trouble figuring this out. I only have one error and it is in main. I am trying to write a program that will output first just a random sudoku type grid(function called random), then I am trying to output a sudoku type grid that has no duplicates … |
|
I've got a program to write and im struggling to start out.. read one integer, n, from a file, then loop the program n times, using indexes 1-n. I'm not really sure where to start with that statement... Im a bit rusty in c++ haha. Each time through the loop … |
|
My program works, but I would like for the numbers to be random instead of 1-12... I know I have to do srand and I want the numbers to at least go to 50, so like a rand()%50, but I'm not really sure where to plug it in, if thats … |
|
I am just preparing to take a quiz and he said some examples will be kind of like this and I was just tryin to get some input on if these answers I have are the right ones.. he said just do what the statement says, no further work, just … |
|
I am trying to do a basic program that reads from a txt file and ouputs the results in a specific order on the screen. Its a salary type program. Here is my salary.txt file [code=C++] Randall Jones 25645.88 1999 Jim Johnson 56709 1992 Carol Troth 42387.05 2000 Briannal Deweyage … |
|
Hey guys, I'm new to this board and C++ and was looking for a little help or guidance on this program my professor assigned. She assigned the class to create a BMI Calculator, and I have all the nessesary input given for it to work perfect but im not sure … |