1. C programming HELP

Dollar_Manipulator
Set cash(index) to 10*
Set num to 2
Repeat
Until(num == 10)
Set num to 1
Repeat
If (num%3 == 0) Then
Subtract 3.3 from cash(num)
EndIf
If (num%4 == 0) Then
Multiply cash(num) by 2
EndIf
Until (num == 10)
Prompt for num
Get num
Set lucky_num to (num%10)
Set num to 1
Repeat
If (num == lucky_num) Then
Do Nothing
Else
EndIf
Until (num == 10)
Display cash(index)*
End

*Note that index = 10. You are declaring, initializing, and displaying the array of 10 locations numbered 1 to 10. Make necessary changes in C to reflect this.

Misc_Program
Set MAX to 10
Set MID to 5
Set MIN to 1
Do index = MIN to MAX
Set array(index) to 0
Display array(index)
If (array(index) == 2 Or 4 Or 6 Or 8) Then
Else
EndIf
EndDo
Display modified array message
Do index = MIN to MAX
Display array(index)
EndDo
End

2. what exactly do these algorithms do?

3. for setting the flags here is what you do
Code:
```int flag;
//for the flag is set
flag = 1;
//for unsetting the flag
flag = 0;
//for conditions if flag is on
if(flag)
{
//...
}
else
{
//...
}
//etc.```
what I mean by flags is the "action" or variable you used SET on.

4. This reeks of homework, so I'll offer tips instead of code. In the case of the Repeat..Until statements, consider using a while loop. cash(index) is an array, so you can simply change the notation slightly to cash[index] to convert it to C. You might want to make use of the arithmetic assignment operators that C provides, such as +=, -=, and *=. Perhaps a for loop would be appropriate for the Do construct. Everything else is simple enough for you to figure out with a little effort.

-Prelude

5. aha

prelude---can you elaborate more