abrolrahul9
BAN USER
0 Answers please help me in solving this!!
Given an integer N, find the Nth number in the fibonacci series. Consider 0 and 1 to be the seed values. In a fibonacci series, each number ( Fibonacci number ) is the sum of the two preceding numbers. The series with 0 and 1 as seed values will go like- 0, 1, 1, 2, 3, 5… .
- abrolrahul9 March 23, 2020
Input
The first line contains an integer T, depicting total number of test cases. Then following T lines contains an integer N.
Constraints:
1 ≤ T ≤ 50
1 ≤ N ≤ 50
Output
Space separated Nth fibonacci number for each N given in the input| Flag | PURGE 0 Answers Solve this problem
You are asked q queries each of which can be of type 1 or type 2 Type 1 : Report the area of square of side S. Type 2 : Report the area of rectangle of sides L and R.
- abrolrahul9 March 23, 2020
Input
The first line of the input contains single integer Q.
Next Q line contains the queries.
Each query first contains type of query
if query is of type one you are given a single integer S
if query is of type two you are given two integers L and R
Constraints
1 <= Q <= 25
1 <= T <= 2
1 <= S,L,R <= 1000
Output
Output Q line each containing answer to the asked query| Flag | PURGE
RepSandraGabriel, Analyst at ABC TECH SUPPORT
We Data Entry Operators have a variety of duties, including processing documents, solving inconsistencies, securing information, updating databases and using ...
Repbentone161, Computer Scientist at AMD
I am from the USA. I am 24 year old. I work in a center library .I advise to focus ...
RepBarbaraLocke, Android test engineer at ABC TECH SUPPORT
Hey, I'm a BarbaraLocke. And I love my work. Apart from this, I am doing some new experiments in ...
RepIsabellaRoy, Android Engineer at 8x8
I have excellent reporting and interviewing skills and award-writing techniques. I compose a variety of stories for print news and ...
Repkentyoung319, Applications Developer at ABC TECH SUPPORT
I am KentYoung . I am working as an Orthotics technician at The Wiz . As an orthotic technician,I manufacture orthotic ...
Repjanetjgonzales87, Android Engineer at 247quickbookshelp
Hello I am an internet developer. And I am very much sorry to travel and read some interesting books. Right ...
Repruchimosha, Analyst at Absolute Softech Ltd
My name is MaryDuncan . I am working at Crandall's Fine Furniture as a Probation officer . Here I am dealing ...
Repgeachfadden9, cox customer service at Chicago Mercantile Exchange
Geach, my responsibilities include making travel and meeting arrangements, preparing reports and maintaining appropriate filing systems. I have excellent oral ...
RepNaomiMoore, abc at A9
I have wide experience with commercial negotiations and international transactions.Advising on the incorporation and related shareholder agreements for a ...
RepAriAllen, AT&T Customer service email at ABC TECH SUPPORT
I have experience with collecting data and conducting experiments for studies in a variety of industries. I am a respected ...
RepRomiTerry, Member Technical Staff at Cleartrip.com
Romi , a Dynamic Property Manager highly regarded for increasing and maintaining a high level of occupancy adhering to all regulations ...
RepPurserCaudle, Network Engineer at AppPerfect
Hi I am Purser, a scientific writer who is a journalist who researches and reports on news and trends in ...