Reference no: EM13162361
C PROGRAMMING
In the novel "The DaVinci Code", a scrambled version
13, 3, 2, 21,1, 1, 8, 5
of the first eightFibonacci numbers appear as one
of the clues left by murdered museum curator
Jacques Sauniere.
In this assignment, we will do something related to
the Fibonacci sequence.
The Fibonacci sequence is a series of whole numbers
starting at 1, followed by the sum of the two
preceding numbers.
The first eight ones are 1, 1, 2, 3, 5, 8, 13 and 21.
Write *one* C program that will accomplish *all*
the following steps:
1) Display the complete Fibonacci sequence until
you reach a value
less or equal than 1,000,000 (one million).
2) Display the count of how many numbers are in that
sequence between 1 and 1,000,000.
3) Display (or emphasize in the display of step #1)
all the numbers (if any)
that are part of the Fibonacci sequence
below 1,000,000and whose
square root is a whole number.
For example 16 has a whole square root (4),
but 16 is not part of the Fibonacci sequence.
4) Display (count) how many numbers satisfy the
two conditions indicated in step #3 (part of Fibonacci
below 1,000,000 and whole square root).
5) Starting with the second number of the sequence,
display the divisionof the numberbythe previous
one for the complete sequence
Can you see a pattern developing?
We call this the Golden Number.
Important Notes:
i) Proper indentation and documentation (comments)
are very important.
Vision statement-alignment-paradigms and grading criteria
: The vision of the team is to reduce and eventally get the damages of goods receive and shipped down to zero with the dock workers that load and unload the trucks. Does your team have a vision statement? What is it?
|
Roman trade sites
: Findings at Roman trade sites dating to about 0 C.E. suggests that of the following groups, this group was least involved in ocean trade between the Roman Empire and India:
|
Brilliant color is small supplier of chemicals
: Brilliant Color is a small supplier of chemicals and equipment that are used by some photographic stores to process 35mm film. One product that Brilliant Color supplies is BC-6. John Kubick, president of Brilliant Color, normally stocks 11, 12, or ..
|
Communication technology on print and electronic based media
: Preparation: To competently address this essay you will need to have an understanding of the recent past, our current period and the media’s future in Australia. Communication Studies graduates are expected to have a high standard of written commun..
|
The fibonacci sequence
: In the novel "The DaVinci Code", a scrambled version 13, 3, 2, 21, 1, 1, 8, 5 of the first eight Fibonacci numbers appear as one of the clues left by murdered museum curator Jacques Sauniere. In this assignment, we will do something related to t..
|
Fuels hate crimes
: Write a 275 word paragraph about hate crimes perpetrated againist and how lack of knowledge fuels hate crimes.
|
Colonials used both peaceful and violent methods
: The colonials used both peaceful and violent methods to oppose the British policies imposed on America from 1763-75. Identify and elaborate on two such methods – one peaceful and one violent. Which of the two identified do you think was more effectiv..
|
Determine the effective miss rate
: For the following repeating sequence of 1w address (given in hex) and cache configurations... Assuming least recently used (LRU) replacement for associative caches,
|
Conversation with socrates
: Imagine you are having a conversation with a Socrates. You will debate the question of free will versus determinism.
|