# Ineed help with this

**URL:** <https://forum.kirupa.com/t/ineed-help-with-this/271577>\
**Category:** random\
**Created:** [September 24, 2008, 10:44pm UTC](https://forum.kirupa.com/t/ineed-help-with-this/271577 "2008-09-24T22:44:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![josephplays](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@josephplays](https://forum.kirupa.com/u/josephplays)\
**Post date:** [September 24, 2008, 10:44pm UTC](https://forum.kirupa.com/t/ineed-help-with-this/271577/1 "2008-09-24T22:44:29Z")

</div>

**[FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][LEFT]int answer, x, y;[/LEFT]  
 [/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4][LEFT]1) In your program assign to [/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff]answer [/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4]the number zero. Assign to [/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff]x [/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4]the  
number one and assign to [/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff]y [/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4]the number two.  
2) For the variable [/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff]x**[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4], increment it the four ways that was discussed in the  
lectures. After each statement, print out the value of [/SIZE][/FONT][/SIZE][/FONT]**[FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff]x [/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4](i.e. “x: 1”).  
3) For [/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff]answer**[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4], assign it the expression of post increment of [/SIZE][/FONT][/SIZE][/FONT]**[FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff]x [/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4]plus [/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff]y**[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4]. After  
this statement print out the value of [/SIZE][/FONT][/SIZE][/FONT]**[FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff]answer**[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4], [/SIZE][/FONT][/SIZE][/FONT]**[FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff]x**[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4], and [/SIZE][/FONT][/SIZE][/FONT]**[FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff]y [/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4](on the same line).  
4) For [/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff]answer**[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4], now assign it the expression of pre increment of [/SIZE][/FONT][/SIZE][/FONT]**[FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff]x [/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4]plus pre  
increment of [/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff]y**[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4]. After this statement print out the value of [/SIZE][/FONT][/SIZE][/FONT]**[FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff]answer**[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4], [/SIZE][/FONT][/SIZE][/FONT]**[FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff]x**[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4], and[/LEFT]  
[/SIZE][/FONT][/SIZE][/FONT]**[FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][LEFT]y [/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4](on the same line).  
5) For [/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff]answer**[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4], now assign it the expression of post decrement of [/SIZE][/FONT][/SIZE][/FONT]**[FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff]x [/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4]minus pre  
increment of [/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff]y**[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4]. After this statement print out the value of [/SIZE][/FONT][/SIZE][/FONT]**[FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff]answer**[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4], [/SIZE][/FONT][/SIZE][/FONT]**[FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff]x**[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4], and[/LEFT]  
[/SIZE][/FONT][/SIZE][/FONT]**[FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][LEFT]y [/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4](on the same line).[/LEFT]  
[/SIZE][/FONT][/SIZE][/FONT][FONT=Times New Roman][LEFT]2[/LEFT]  
[/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4][LEFT]6) For [/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff]answer**[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4], now assign it the expression of post increment of [/SIZE][/FONT][/SIZE][/FONT]**[FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff]x [/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4]minus pre[/LEFT]  
increment of [/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff]y [/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4]plus pre increment of [/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff]x [/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4]minus post increment of [/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff][FONT=Courier New][SIZE=4][COLOR=#0000ff]y**[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Times New Roman][SIZE=4][FONT=Times New Roman][SIZE=4].  
[/SIZE][/FONT][/SIZE][/FONT]
