I have been assigned to write a program that randomly generates two arrays of 25 int values each, and adds them element by element.
example--
array1--->5 6 4 2 8 0 2 4 7 5 4.......
...
Type: Posts; User: newbie2C++
I have been assigned to write a program that randomly generates two arrays of 25 int values each, and adds them element by element.
example--
array1--->5 6 4 2 8 0 2 4 7 5 4.......
...
for some reason when i posted it altered the triangle i needed...
since it wont let me display, ill descobe it...
it consists of a block pretty much, where it has 4 spaces and 1 star for the first...
Ive been told to do a program which outputs the following:
*
**
***
****
*****
I know it involves using three loops that look like this:
OK so thats what i did,
in effect i wrote a function to delete the specific integer like such:
say i had a list of 5 numbers: 3 1 7 8 2. the user wants to delete the number 2.
void...
For my final project in my C++ class we have to design a program that creates two arrays of 100 integers , and allows the user to append them,search,sort,insert,print,sum,mutiply and do all kinds of...
OK so ive been given the task of inputting 10 numbers into an array, making sure that there are at least 2 repeating ones,
for example 1,5,6,6,10,3,5,2,7,8 (6 and 5 repeat)
Having done this, i...
Thanks alot guys, youve been a great help!
Hello y'all:
I have been given a problem regarding matrices. Im very new to this but I know that multidimensional arrays cannot be dynamic, so i set mine as follows...oh hell, heres my whole...