: Given the definition of SmallInt on page 588, determine whether the following addition expression is legal. If so, what addition operator is used? If not, how might you change the code to make it legal? SmallInt s1; double d = s1 + 3.14;

"Pretty up" the intrusive List example in §27.9 as best you can to make it convenient to use. Do catch/handle as many errors as you can. It is fair game to change the details of the struct definitions, to use macros, whatever.

(a) Write an if statement that increases pay by 3% if score is greater than 90. (b) Write an if statement that increases pay by 3% if score is greater than 90, otherwise increases pay by 1%.

(Challenge) Repeat the previous project. but position the centers of the circles on a spiral. The center of each circle will depend on both an angle and a distance from the origin A constant change in both the angle and the distance will result in a spiral pattern.

(Optional) Write a recursive method to compute the sum of the first N positive integers. Note: This is strictly for exercise. You should not write the real method recursively.

(Reverse number) Write a program that prompts the user to enter a four-digit integer and displays the number in reverse order. Here is a sample run: Enter an integer: 3125 The reversed number is 5213