Write a program that reads the name of an element from the user and uses a recursive function to find the longest sequence of elements that begins with that value

Some people like to play a game that constructs a sequence of chemical elements where each element in the sequence begins with the last letter of its predecessor. For example, if a sequence begins with Hydrogen, then the next element must be an element that begins with N, such as Nickel. The element following Nickel must begin with L, such as Lithium. The element sequence that is constructed cannot contain any duplicates. When played alone the goal of the game is to constructed the longest possible sequence of elements. When played with two players, the goal is to select an element that leaves your opponent without an option to add to the sequence.

Write a program that reads the name of an element from the user and uses a recursive function to find the longest sequence of elements that begins with that value. Display the sequence once it has been computed. Ensure that your program responds in a reasonable way if the user does not enter a valid element name.

find the cost of your paper

determine values for K7 and K8.

Polyolefins such as polyethylene undergo slow degradation when placed in air. Degradation occurs by reactions with atmospheric oxygen that lead to the formation of carbonyl groups (groups containing oxygen), gradual….

State the differences in operation and application for junction transistors and MOSFETs.

1. State the differences in operation and application for junction transistors and MOSFETs. 2. We note in Section 12.5 (Figure 12.20) that in FeO (wüstite), the iron ions can exist in both….

Determine values of DT for aluminum, steel, aluminum oxide, soda–lime glass, polystyrene, and nylon 6,6 using the data in Table 19.1.

Nonsteady-state heat flow may be described by the following partial differential equation:     where DT is the thermal diffusivity; this expression is the thermal equivalent of Fick’s second law of diffusion….