No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
This is my final assignment before the semester is over. For this program I am supposed to create a switch within a loop. The switch works but the program will not loop. Can you please help me. [ICODE]#include <iostream> #include <cstdlib> #include <ctime> using namespace std; int main(void) { double … |
|
I need help with my homework. The first part is to create two arrays that are random. Afterward I need to creat afunction that finds the Minimun and Maximum of the two arrays. Here is my code: #include <iostream> #include <cstdlib> #include <ctime> using namespace std; int int main(void) { … |
|
Now Ineed help combining arrays. Please help. Here's the code Ihave so far. [ICODE]#include <iostream> #include <cstdlib> #include <ctime> using namespace std; int findmax (int a1[45], int a2[50], int i, int j); int findmin (int a1[45], int a2[50], int i, int j); int main(void) { unsigned seed = time (0); … |
|
|
|
I need help on two assignments that are due: 1. Initializing the elements of an array a1 and size n randomly, so that its elements have values between [1-45]. 2. Initializing the elements of an array a2 and size n randomly, so that each element is between 0 and 50 … |
|