Is their a way to have a user input a number and to have that number be the size of an array and have it produce random numbers in the array that equal one number.
Lets say the user inputs 7
I am...
Type: Posts; User: Nate2430
Is their a way to have a user input a number and to have that number be the size of an array and have it produce random numbers in the array that equal one number.
Lets say the user inputs 7
I am...
Does anyone know of a place with code for a Tic Tac Toe game?
Here it is. I am trying to get an output that shows the highest number in an array and what number this number is in the array. When you run it it shows the correct output forthe second two arrays...
With the following code I found the highest number in each array but it only returns the first number in each array for the lowest and not the lowest number. Could someone please tell me why?#include...
I have already wrote the main funstion but I cannot figure out what to put in the other function to find the average of the three arrays?#include <iostream>
#include <iomanip>
using namespace std;...
This program I have written has the user enter a number and it will display the fibonacci number that is associated with that number. This part works what i need to know what do I need in my code so...
How would you find the cubed root of a number using C++. I know how to find the square root I just can't figure out how to find the cubed root.
I am doing a project that has the user input any year ranging from 1900 to 2099 and it will display what year easter sunday was on. The equation I have works for every year except 1954, 1981, 2049,...
If I were to delete those file associations, would I need to reinstall Visual C++ 6.0 to get them back (Its already installed on my PC)?
The reason I was reinstalling Visual C++ was because very file I would save after I finished in C++ would save as a Bloodshed C++ file. Well, the reinstllation didn't change that. Does anyone know...
See thats what happens when you get mad about something. You don't look in the most obvious place. Thanks.
Alright, Where is the product ID number located. I have searched feantically everywhere for the installation guide but can't find. Please if you have any idea whre the Product ID number is located...
Thank you. It works.
Is there anyway I can insert Pi into an equation using C ++ without having to write out the whole number?
I cannot figure out how to write this equation into a program.
P = Ar /( 1 - (1 + r) to the negative n power)
In C++ how do you raise to a power? How would I enter this instruction P = Ar/ 1 - (1+r) to the n power?