- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
11 Posted Topics
how can i return cases 1,2,3 and default in to the main function? when i press 1 as key to return to the main function.. the prompt will appear "press any key to continue" how can i return it to the main menu? [CODE]#include <iostream> #include <cstdlib> using namespace std; … | |
hey...i have a code here[CODE]#include<iostream> #include<fstream> using namespace std; void Avgs(int Array[],int N,int& Ave,int& AveP,int& AveN){ AveP = 0; AveN =0; for(N=0,N<10,N++;;) Ave=Ave+ Array[N]; Ave=Ave/10; for(N=0,N<10,N++;;){ if (Array[N]>= 0) AveP= AveP+Array[N]; else AveN= AveN+Array[N]; } {AveP= AveP/6; AveN= AveN/4; } void Large(int Array[],int N, int& Big);{ int Big = 0; … | |
can you please explain to me why htese errors happen and what is the solutions for this...pleeeaaassee..:)) Problem: Write a C++ program which will read in a list of numbers, find the average of all numbers, the average of thepositive and negative numbers, and the largest element. Your program should … | |
[B][/B] uhm sir... the program must be like this... ([I]<<snip>>[/I]..awwwhelp me plsss the rows and columns must input numbers manually ...and the result will be like multiplication table... the outcome must be like this: number of rows?: 5 number of columns: 6 input rows: 2 3 5 1 0 input … | |
my professor has a assignment for us... this is the directions "write a c++ program that declares an array alpha of 50 elements of type float initializxa the array the 1st 25 elemensts are equal to the square of the index variable and the remaining elements are equal to 3x … | |
[CODE]#include <iostream> using namespace std; int main () { int x; cin>>x>>"\t"; int A = A[x]; return 0; }[/CODE] the error is "subscript requires array or pointer type" how can i input my desired number of size by using cin for x??? help | |
[CODE]#include <iostream> using namespace std; int main() { int numbers; numbers = 2; while (numbers <= 1000); { if (numbers % 2 ==0){cout<< numbers;}; if (numbers % 3 ==0){cout<< numbers;}; if (numbers % 4 ==0){cout<< numbers;}; if (numbers % 5 ==0){cout<< numbers;}; if (numbers % 6 ==0){cout<< numbers;}; if (numbers … | |
[CODE] #include <iostream> #include <iomanip> using namespace std; int main() { int rows; cout<< "put the number of rows here"" "; cin >> rows; cout<< "numbers here""\n "; int *arr = new int[ rows ]; for( int i = 0; i < rows; i++ ){ cin >> arr[ i ]; … | |
uhm sir... the program must be like this... ..awwwhelp me plsss the rows and columns must input numbers manually ...and the result will be like multiplication table... the outcome must be like this: number of rows?: 5 number of columns: 6 input rows: 2 3 5 1 0 input columns: … | |
i cannot get the logic of this thing... i will input the number of rows example "rows=5" then "input the numbers = 2 3 8 9 7" what codes could i use??? | |
ive already run the installation wizard and why i always run the main setup the thing that comes out is this "a previous installation of visualsourcesafe at D:visual basic 6.0\VSS\ select yes to replace it with VSS6.0 or no to install and no to its default" 5then i encountered this … |
The End.