- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
7 Posted Topics
I have wrote this code about Soccer score using Data Structures, but it does not give me the Highest Score, Name of the Highest Score achiver and the Table of Players and their scores,points. As its getting longer and longer i am getting confused. Please help me [CODE] #include <iostream> …
Here is my code of two arrays. they are sorted by buuble and selection sorting methods. I have put a pass counter to display each modification but i am unable to display the array after each pass/modification in both sorting methods. please suggest: [CODE]#include <iostream> #include <iomanip> using namespace std; …
[CODE] cout << " Enter a positive number count: "; cin >> numberInput; if(numberInput > 0) { index = numberInput % 10; cout<<"index is :"<<index; } else if { cout << " Error! Enter a positive number count: "; cin >> numberInput }[/CODE]
In this code I want to have a function to show average of movies saw by students, how to define and declare and call it in this program: [CODE]#include <iostream> #include <iomanip> using namespace std; /****************Function Prototypes******************/ void displayList(int [], int); //function to display array void getAverage (int [], int); …
[CODE]#include <iostream> using namespace std; int main() { int y = 0; for(int i = 0; i <= 6; i+= 3) for(int j = 0; j<= 15; j+=5) ++y; cout << y << "\n"; system("PAUSE"); return 0; } [/CODE]
here is my codes basicallysorting works but now i have to set a counter to display out the contents of array1 and array2 each pass of the sort. the problem is where to put that counter???? [CODE]#include <iostream> #include <iomanip> using namespace std; // Function prototypes void showArray1(int [], int); …
Iam trying to code a single program of an array with 20 elements in it. It asks for a number from user and search is if this array has that number. I am using Binary and selection search. Its not giving me the required results. here is my code; [CODE]/* …
The End.
rafta