Find Jobs
Hire Freelancers

MARIE code for Fibonacci

$10-30 AUD

V teku
Objavljeno pred skoraj 5 leti

$10-30 AUD

Plačilo ob dostavi
The Fibonacci numbers are the numbers in the following integer sequence, called the Fibonacci sequence, and are characterised by the fact that every number after the first two is the sum of the two preceding ones: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 114, … etc. By definition, the first two numbers in the Fibonacci sequence are 0 and 1, and each subsequent number is the sum of the previous two. We define Fib(0)=0, Fib(1)=1, Fib(2)=1, Fib(3)=2, Fib(4)=3, etc. The first 22 Fibonacci numbers given below: Fib(0) Fib(1) Fib(2) Fib(3) Fib(4) Fib(5) Fib(6) Fib(7) Fib(8) Fib(9) Fib(10) 0 1 1 2 3 5 8 13 21 34 55 Fib(11) Fib(12) Fib(13) Fib(14) Fib(15) Fib(16) Fib(17) Fib(18) Fib(19) Fib(20) Fib(21) 89 144 233 377 610 987 1597 2584 4181 6765 10946 Write a MARIE program to calculate Fib(n), where the user inputs n. For example, if the user inputs 7, the program outputs the value 13; if the user inputs 15, the program outputs the value 610; if the user inputs 20, the program outputs the value 6765 and so on. You need to write and run the program using MARIE simulator. Please include appropriate comments to make your code readable.[8 marks] b) For some values of n, your program will not produce correct results. You can check this by gradually increasing the values of n and checking for the correct outputs. What is the maximum value of n for which your program produces a correct result? Why? Please comment on this [3 marks]
ID projekta: 19357583

Več o projektu

5 ponudb
Projekt na daljavo
Aktivno pred 5 leti

Želite zaslužiti?

Prednosti oddajanja ponudb na Freelancerju

Nastavite svoj proračun in časovni okvir
Prejmite plačilo za svoje delo
Povzetek predloga
Registracija in oddajanje ponudb sta brezplačna
Dodeljeno:
Avatar uporabnika
I would like to offer myself as a probable candidate for this assignment as I am confident of delivering a quality output. I have excellent expertise in this area. I have total 7 years or experience in web development and design using java,j2ee,spring,hibernate,CSS,jquery,angular js, rest/soap web services
$10 AUD v 1 dnevu
4,8 (18 ocen)
4,0
4,0
5 freelancerjev je oddalo ponudbo s povprečno vrednostjo $14 AUD za to delo
Avatar uporabnika
Hello Sir/ Ma’am We are a group of Software Engineers (Programmers) having 10+ years of experience. Expert in JAVA, C, C++ , C# , Python, ANDROID,IOS, MATLAB, IONIC. Done 40+ projects here on FREELANCER.COM. Please check our profile for reference. The bid is negotiable and we can talk about the price. Thank you
$10 AUD v 1 dnevu
5,0 (3 ocen)
2,3
2,3
Avatar uporabnika
I got good object oriented programming skills and can develop your project using good programming practices. high quality work and code improves your application performance. I have been working on various projects since 8 years. I have worked with several client. I have always tried my best to fulfill all the requirements and satisfy my clients. I will be available at any time and update you about the project whenever required. I work with you like professionals. I hope to provide you 100% quality work.
$17 AUD v 1 dnevu
5,0 (1 ocena)
0,7
0,7
Avatar uporabnika
Inbox me for java ......................................................................................................................................................................
$10 AUD v 1 dnevu
0,0 (0 ocen)
0,0
0,0

O stranki

Zastava AUSTRALIA
Tarneit, Australia
0,0
0
Plačilna metoda je verificirana
Član(ica) od apr. 26, 2019

Verifikacija stranke

Hvala! Po e-pošti smo vam poslali povezavo za prevzem brezplačnega dobropisa.
Pri pošiljanju vašega e-sporočila je šlo nekaj narobe. Poskusite znova.
Registrirani uporabniki Skupaj objavljenih del
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Nalaganje predogleda
Geolociranje je bilo dovoljeno.
Vaša prijavna seja je potekla, zato ste bili odjavljeni. Prosimo, da se znova prijavite.