# Money for modifing Programs

**URL:** <https://forums.speedlife.net/t/money-for-modifing-programs/77021>\
**Category:** NYSpeed Off Topic\
**Created:** [December 8, 2009, 7:29am UTC](https://forums.speedlife.net/t/money-for-modifing-programs/77021 "2009-12-08T07:29:08Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![PhoeNixGold\_284](https://avatars.discourse-cdn.com/v4/letter/p/f9ae1b/32.png) [@PhoeNixGold\_284](https://forums.speedlife.net/u/PhoeNixGold_284)\
**Post date:** [December 8, 2009, 7:29am UTC](https://forums.speedlife.net/t/money-for-modifing-programs/77021/1 "2009-12-08T07:29:08Z")

</div>

I have 5 programs due real soon. I need to get them done so I can pass. I will paypal $5 for each program that is modded correctly. Here is ONE of them:

**#include \<cstdlib\>**  
**#include \<iostream\>**  
**using namespace std;**  
**/\***   
 **This program fills a character array with the letters A through Z.**  
 **It then sets every n’th value (where n is user entered) to an**   
 **asterisk. Finally, the user specifies two indexes in the array to**   
 **be swapped. The final array is printed.**  
   
 **Programmer: Your name here**  
 **Date: Current date here**  
**\*/**  
   
**void fill\_array (char stuff [26]);**  
**void print\_array (char stuff [26]);**  
   
**int main(int argc, char \*argv[])**  
**{**  
 **char my\_array [26]; // array of characters to be manipulated**  
 **int n, // every n’th value in array is set to**   
 **// an asterisk (user entered)**  
 **swap1, // indexes in the array to be swapped**  
 **swap2; // (user entered)**  
   
 **fill\_array (my\_array);**  
 **cout \<\< "Enter an integer (every nth element will be set to an \*): ";**  
 **cin \>\> n;**  
 **asterisk\_array (my\_array, n);**  
 **cout \<\< "Enter two indexes in the array to swap: ";**  
 **cin \>\> swap1 \>\> swap2;**  
 **swap\_array (my\_array, swap1, swap2);**  
 **print\_array (my\_array);**  
 **cout \<\< "**

";  
 **system(“PAUSE”);**  
 **return EXIT\_SUCCESS;**  
**}**  
   
**// fill\_array sets the values in the array to the user case alphabet**  
**void fill\_array (char stuff [26])**  
**{**  
 **int index; // index in the array (element to set)**  
 **char ch = ‘A’; // character to be placed in the array**  
   
 **for (index = 0; index \< 26; index++)**  
 **{**  
 **stuff [index] = ch;**  
 **ch++;**  
 **}**  
**}**  
   
**// print\_array prints the character array**  
**void print\_array (char stuff [26])**  
**{**  
 **int index; // index in the array (element to print)**  
   
 **cout \<\< "  
The final array is:**

";  
 **for (index = 0; index \< 26; index++)**  
 **{**  
 **cout \<\< stuff [index];**  
 **}**  
**}**

1. 

```
 Write the <b>function prototype</b> and <b>function definition</b> for the function <b>asterisk_array</b>. It sets every <b>n’th</b> element in the array to an <b>asterisk character</b>.

```

2. 

```
 Write the <b>function prototype</b> and <b>function definition</b> for the function <b>swap_array</b>. It swaps the elements in the array at the two indexes entered by the user.

```

Test your program.  
    
   
3. Change the call to **fill\_array** in mainto:

**fill\_array (my\_array [26]);**

---

<div class="post-metadata">

**Author:** ![boardjnky4](https://avatars.discourse-cdn.com/v4/letter/b/96bed5/32.png) [@boardjnky4](https://forums.speedlife.net/u/boardjnky4)\
**Post date:** [December 8, 2009, 7:41am UTC](https://forums.speedlife.net/t/money-for-modifing-programs/77021/2 "2009-12-08T07:41:33Z")

</div>

do your CSE homework yourself

---

<div class="post-metadata">

**Author:** ![Tunerfreak](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/tunerfreak/32/7427_2.png) [@Tunerfreak](https://forums.speedlife.net/u/Tunerfreak)\
**Post date:** [December 8, 2009, 7:41am UTC](https://forums.speedlife.net/t/money-for-modifing-programs/77021/3 "2009-12-08T07:41:51Z")

</div>

lol aren’t you the one who posted this stuff last time and no one did it? what makes you think anyone is going to do this?

---

<div class="post-metadata">

**Author:** ![PhoeNixGold\_284](https://avatars.discourse-cdn.com/v4/letter/p/f9ae1b/32.png) [@PhoeNixGold\_284](https://forums.speedlife.net/u/PhoeNixGold_284)\
**Post date:** [December 8, 2009, 7:42am UTC](https://forums.speedlife.net/t/money-for-modifing-programs/77021/4 "2009-12-08T07:42:19Z")

</div>

Cause i gots the cash lol And yes that was me

---

<div class="post-metadata">

**Author:** ![boardjnky4](https://avatars.discourse-cdn.com/v4/letter/b/96bed5/32.png) [@boardjnky4](https://forums.speedlife.net/u/boardjnky4)\
**Post date:** [December 8, 2009, 7:45am UTC](https://forums.speedlife.net/t/money-for-modifing-programs/77021/5 "2009-12-08T07:45:47Z")

</div>

you could at least ATTEMPT the problem, then ask for help

or

you could at least give us some peace of mind that you know the concepts and have ANY idea of what you are supposed to do here.

---

<div class="post-metadata">

**Author:** ![PhoeNixGold\_284](https://avatars.discourse-cdn.com/v4/letter/p/f9ae1b/32.png) [@PhoeNixGold\_284](https://forums.speedlife.net/u/PhoeNixGold_284)\
**Post date:** [December 8, 2009, 7:52am UTC](https://forums.speedlife.net/t/money-for-modifing-programs/77021/6 "2009-12-08T07:52:45Z")

</div>

I’m going to be completely honest, I don’t know how to do arrays. This is the last topic she “covered” in class. I’m am completely lost and desperate. That is why I am offering money. I’m not majoring in programming, it’s just a requirement.

---

<div class="post-metadata">

**Author:** ![Z28pr0jekt](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/z28pr0jekt/32/5393_2.png) [@Z28pr0jekt](https://forums.speedlife.net/u/Z28pr0jekt)\
**Post date:** [December 8, 2009, 7:53am UTC](https://forums.speedlife.net/t/money-for-modifing-programs/77021/7 "2009-12-08T07:53:56Z")

</div>

I hope somehow your school finds this and you get expelled. Do your own damn work

---

<div class="post-metadata">

**Author:** ![LZ1](https://avatars.discourse-cdn.com/v4/letter/l/7ab992/32.png) [@LZ1](https://forums.speedlife.net/u/LZ1)\
**Post date:** [December 8, 2009, 7:54am UTC](https://forums.speedlife.net/t/money-for-modifing-programs/77021/8 "2009-12-08T07:54:13Z")

</div>

Try google?

---

<div class="post-metadata">

**Author:** ![boardjnky4](https://avatars.discourse-cdn.com/v4/letter/b/96bed5/32.png) [@boardjnky4](https://forums.speedlife.net/u/boardjnky4)\
**Post date:** [December 8, 2009, 7:56am UTC](https://forums.speedlife.net/t/money-for-modifing-programs/77021/9 "2009-12-08T07:56:13Z")

</div>

> [@LZ](#):
>
> Try google?

I already tried it for him lol

---

<div class="post-metadata">

**Author:** ![ProgRocker](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/progrocker/32/5434_2.png) [@ProgRocker](https://forums.speedlife.net/u/ProgRocker)\
**Post date:** [December 8, 2009, 7:58am UTC](https://forums.speedlife.net/t/money-for-modifing-programs/77021/10 "2009-12-08T07:58:35Z")

</div>

**I’d definitely hire you!**

---

<div class="post-metadata">

**Author:** ![LZ1](https://avatars.discourse-cdn.com/v4/letter/l/7ab992/32.png) [@LZ1](https://forums.speedlife.net/u/LZ1)\
**Post date:** [December 8, 2009, 8:00am UTC](https://forums.speedlife.net/t/money-for-modifing-programs/77021/11 "2009-12-08T08:00:58Z")

</div>

What are you going to school for??

---

<div class="post-metadata">

**Author:** ![JayS](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/jays/32/15375_2.png) [@JayS](https://forums.speedlife.net/u/JayS)\
**Post date:** [December 8, 2009, 8:01am UTC](https://forums.speedlife.net/t/money-for-modifing-programs/77021/12 "2009-12-08T08:01:10Z")

</div>

My consulting rate is $125/hr, billable in half hour increments.

PM me if you really want to pass. 🙂

---

<div class="post-metadata">

**Author:** ![Joe](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/joe/32/7219_2.png) [@Joe](https://forums.speedlife.net/u/Joe)\
**Post date:** [December 8, 2009, 8:02am UTC](https://forums.speedlife.net/t/money-for-modifing-programs/77021/13 "2009-12-08T08:02:18Z")

</div>

I thought this was another stimulus program

---

<div class="post-metadata">

**Author:** ![Motocrossx23](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/motocrossx23/32/5120_2.png) [@Motocrossx23](https://forums.speedlife.net/u/Motocrossx23)\
**Post date:** [December 8, 2009, 8:07am UTC](https://forums.speedlife.net/t/money-for-modifing-programs/77021/14 "2009-12-08T08:07:32Z")

</div>

Just put a smiley face after each line.

---

<div class="post-metadata">

**Author:** ![ultradriver10000](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/ultradriver10000/32/7397_2.png) [@ultradriver10000](https://forums.speedlife.net/u/ultradriver10000)\
**Post date:** [December 8, 2009, 8:08am UTC](https://forums.speedlife.net/t/money-for-modifing-programs/77021/15 "2009-12-08T08:08:36Z")

</div>

> [@JayS](#):
>
> My consulting rate is $125/hr, billable in half hour increments.
> 
> PM me if you really want to pass. 🙂

Good Deal mine is $135 😛

> [@Joe](#):
>
> I thought this was another stimulus program

That is what I thought when I read the title.

Good luck dude !

---

<div class="post-metadata">

**Author:** ![boardjnky4](https://avatars.discourse-cdn.com/v4/letter/b/96bed5/32.png) [@boardjnky4](https://forums.speedlife.net/u/boardjnky4)\
**Post date:** [December 8, 2009, 8:09am UTC](https://forums.speedlife.net/t/money-for-modifing-programs/77021/16 "2009-12-08T08:09:16Z")

</div>

> [@Joe](#):
>
> I thought this was another stimulus program

nope, you can’t solve this problem with more spending

---

<div class="post-metadata">

**Author:** ![glitch](https://avatars.discourse-cdn.com/v4/letter/g/0ea827/32.png) [@glitch](https://forums.speedlife.net/u/glitch)\
**Post date:** [December 8, 2009, 8:38am UTC](https://forums.speedlife.net/t/money-for-modifing-programs/77021/17 "2009-12-08T08:38:50Z")

</div>

yo dawg i heard you like computer science

---

<div class="post-metadata">

**Author:** ![Geehee](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/geehee/32/7238_2.png) [@Geehee](https://forums.speedlife.net/u/Geehee)\
**Post date:** [December 8, 2009, 8:40am UTC](https://forums.speedlife.net/t/money-for-modifing-programs/77021/18 "2009-12-08T08:40:16Z")

</div>

> [@boardjnky4](#):
>
> nope, you can’t solve this problem with more spending

:bigclap: well played sir

---

<div class="post-metadata">

**Author:** ![tpgsr](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/tpgsr/32/7374_2.png) [@tpgsr](https://forums.speedlife.net/u/tpgsr)\
**Post date:** [December 8, 2009, 8:47am UTC](https://forums.speedlife.net/t/money-for-modifing-programs/77021/19 "2009-12-08T08:47:58Z")

</div>

This is too easy. Read your book and figure it out.

Array: 1,2,3,4,5,6,7,8,9,10

My\_Array[User\_Value] = ‘\*’;

Do your own work.

EDIT: Obviously that is not the solution but a tip. This will involve a loop and a little more code.

---

<div class="post-metadata">

**Author:** ![Jam](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/jam/32/7235_2.png) [@Jam](https://forums.speedlife.net/u/Jam)\
**Post date:** [December 8, 2009, 9:01am UTC](https://forums.speedlife.net/t/money-for-modifing-programs/77021/20 "2009-12-08T09:01:22Z")

</div>

Lol hai someone write my book report for me plz

[Next page](https://forums.speedlife.net/t/money-for-modifing-programs/77021.md?page=2)
