No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
i have this project to do for class. i get how the program works.here is the project: Use a single subscript array and functions to solve the following problem. A company pays its salespeople on a commission basis. The salesperson receives $200 per week plus 9 percent of his/her gross … | |
Re:
hi guys...... i have a problem in writing a program of "how to delete the duplicate elements in an array" for example....if i enter an array like: 10 20 30 40 30 then it should print: 10 20 30 40 so could plz help me out????? :cry: i have attempted … | |
hello guys, I came across a strange thing when doing program in c++ in visualc++ environment.just run this code and after entering the array elements press up arrow and down arrow. Here's the code #include<iostream.h> void main() { int arr[5]; cout<<"Enter the array elements : "<<endl; for(int i=0;i<5;i++) cin>>arr[i]; cout<<"\n\n"; … | |
Re:
I have an assignment where I am given a sequence and I must turn the user's input (int) into that sequence. For example: number : 2 The sequence starting at 2 is : 2 4 16 37 58 The sequence is: 2^2=4, 4^2=16, 1^2+6^2=37, 3^2+7^2=58, etc.... how would I compute … |