subject
Computers and Technology, 22.11.2019 20:31 Hfruit

Write a program that reads in 2 numbers, call them n and m. compute the nth fibonicci number and the mth fibonacci number and then find the greatest common factor of those two numbers. for example, if i typed in 11 and 16, the answer would be 5. the 11th fibonacci number is 55 and the 16th one is 610. the greatest common factor is 5. you should ensure the user types in a positive number and ask again if the user doesn't.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 18:40
Johnson enterprises uses a computer to handle its sales invoices. lately, business has been so good that it takes an extra 3 hours per night, plus every third saturday, to keep up with the volume of sales invoices. management is considering updating its computer with a faster model that would eliminate all of the overtime processing.
Answers: 2
question
Computers and Technology, 23.06.2019 23:40
4. what is the reason for including the following code snippet in the header file animal.h? #ifndef animal_h #define animal_h class animal { public: animal(); animal(double new_area_hunt); void birth(); void hunt(double new_area_hunt); void death(); double get_area_hunt() const; private: double area_hunt; }; #endif
Answers: 3
question
Computers and Technology, 24.06.2019 01:10
Create a program that will take in a single x and y coordinate as the origin. after the input is provided, the output should be all of the coordinates (all 26 coordinates read from the “coordinates.json” file), in order of closest-to-farthest from the origin.
Answers: 1
question
Computers and Technology, 24.06.2019 02:20
The first time a user launches the powerpoint program, which view is shown allowing the user to access recent presentations or create new presentations based on templates?
Answers: 1
You know the right answer?
Write a program that reads in 2 numbers, call them n and m. compute the nth fibonicci number and the...
Questions
question
Mathematics, 28.09.2020 07:01
question
Mathematics, 28.09.2020 07:01
question
Mathematics, 28.09.2020 07:01
question
Mathematics, 28.09.2020 07:01
Questions on the website: 13722360