Sunday, April 29, 2012

TASK 4

Problem 1
1.1 Set gift card value to $50
1.2 set book value to $35
1.3 display 50
1.4 when puchase presses take 35 off the 50 and diplay it

Problem 2
2.1set 91 to 2.07
2.2 set 95 to 2.17
2.3 set diesel to 1.47
2.4 when increase pressed 91,95 & diesel variable timesed by 1.1
2.5 then display new values

Problem 3
3.1 const int wheelSize = 2.4
3.2 const int pie = 3.14
3.3 int wheelRotation
3.4 when button pressed calculate( pie * wheelSize*wheelSize)
3.5 display number 



No comments:

Post a Comment