PLS HELP ME I HAVE NO TIME

PLS HELP ME I HAVE NO TIME

Answers

Answer 1
Please Help! Unit 6: Lesson 1 - Coding Activity 2
Instructions: Hemachandra numbers (more commonly known as Fibonacci numbers) are found by starting with two numbers then finding the next number by adding the previous two numbers together. The most common starting numbers are 0 and 1 giving the numbers 0, 1, 1, 2, 3, 5...
The main method from this class contains code which is intended to fill an array of length 10 with these Hemachandra numbers, then print the value of the number in the array at the index entered by the user. For example if the user inputs 3 then the program should output 2, while if the user inputs 6 then the program should output 8. Debug this code so it works as intended.

The Code Given:

import java.util.Scanner;

public class U6_L1_Activity_Two{
public static void main(String[] args){
int[h] = new int[10];
0 = h[0];
1 = h[1];
h[2] = h[0] + h[1];
h[3] = h[1] + h[2];
h[4] = h[2] + h[3];
h[5] = h[3] + h[4];
h[6] = h[4] + h[5];
h[7] = h[5] + h[6];
h[8] = h[6] + h[7]
h[9] = h[7] + h[8];
h[10] = h[8] + h[9];
Scanner scan = new Scanner(System.in);
int i = scan.nextInt();
if (i >= 0 && i < 10)
System.out.println(h(i));
}
}

Related Questions

Help please i will mark brainlist!

Answers

For the simplex data transmission draw an arrow from computer A to computer B.

For the half duplex data transmission draw an arrow from computer A to Computer B.
Draw an arrow from computer B to computer A.

For the Duplex data transmission draw a two sided arrow from computer A to computer B.

Place the following items in the correct order, so that it correctly represents a URL (website address) protocol, path, server, filename

Answers

Answer:

protocol, server, path and filename

________________, _______________ and ___________ are what you see when you open Excel

Question 10 options:

None of these answers


Columns, rows and cells


Columns, rows and charts


Column, rows and formulas

Answers

volume , rows , and cells ! good luck
Columns, rows and cells.

Rectangular box formed when each column meet​

Answers

Answer:

If this is a true or false I guess my answer is true?

Explanation:

where in system settings can you find which version of Windows is installed on your computer?​

Answers

Answer:

Select the Start button > Settings > System > About . Under Device specifications > System type, see if you're running a 32-bit or 64-bit version of Windows. Under Windows specifications, check which edition and version of Windows your device is running.

Explanation:

brainliest pls

1.1 Why is primary goal of software development now shifting from
producing good quality software to good quality maintainable software?​

Answers

is where the term ‘App’ comes from. It is any piece of software that allows us to actually ‘use’ the computer. For example, it may be a word processor, web browser, spreadsheet software or even just a game. Application software relates to the user rather than the hardware

Select the correct locations on the image. Adrian wants to delve into database administration. Which certifications would help him along this career path? PMP Oracle DBA PRINCE2 CSPM MCITP
you can pick multiple

Answers

Answer:

Oracle DBA and MCITP

What is the shortcut key to apply /remove the subscript effect?
Ctrl+=

Ctrl-+

Answers

Answer:

Press "Ctrl, "Shift" and "=" on your keyboard to turn off superscript formatting.

VI. Differentiate between systems SUIwal unu up
vii. How a student can use computer to improve academic performance?
ters in
in a scho
nool library.​

Answers

Answer:

So in a library u might want to get some reading or homework done the way one can use a computer to improve academic preferences is bye one a computer u can type a essay and look for a book

Explanation:

Name an off-line storage device that is read-only, i.e. cannot be written to.

Answers

Answer:

CD-ROMs

Explanation:

When a program runs in a text-based environment, such as a command line interface, what determines the order in which things happen?

Answers

The set of commands will determines the order in which things

Which statements describe a peer-to-peer network?

Answers

Answer:

In its simplest form, a peer-to-peer (P2P) network is created when two or more PCs are connected and share resources without going through a separate server computer. A P2P network can be an ad hoc connection—a couple of computers connected via a Universal Serial Bus to transfer files

Explanation:

Hope this helps

Passwords are required to log in to the network, and relatively low cost represents peer-to-peer network.

What is peer-to-peer network?

A peer-to-peer (P2P) network is a type of computer network in which each node (computer) can function as both a client and a server.

In other words, without the need for a centralised server, each node on the network can send and receive data and resources directly from and from other nodes on the network.

There is no single point of failure in a P2P network, and the network nodes are responsible for managing and maintaining the network.

This network type is frequently used for file sharing and collaboration, such as BitTorrent, where users can share large files with one another.

Thus, passwords are required to log in to the network, and the network is relatively inexpensive.

For more details regarding peer-to-peer network, visit:

https://brainly.com/question/10571780

#SPJ2

Your question seems incomplete, the probable complete question is:

Which statements describe a peer-to-peer network?

1. passwords are required to log in to the network

2. provides centralized network security

3. relatively low cost

4. scalable

5. used in organizations with lots of employees

In terms of their eligibility for legal protection, how do ideas differ from song lyrics?


Ideas can be copyrighted, while song lyrics can be trademarked.

Ideas can be copyrighted, while song lyrics cannot be copyrighted or trademarked.

Ideas can be trademarked, while song lyrics can be copyrighted.

Ideas cannot be copyrighted or trademarked, while song lyrics can be copyrighted.

Answers

Answer:

D

Explanation:

Answer:

D. Ideas cannot be copyrighted or trademarked, while song lyrics can be copyrighted.

Copyright protection applies to original works that are fixed in a tangible form, such as being written down or recorded. This means that song lyrics are eligible for copyright protection because they are fixed in a tangible form, like sheet music or a recording. However, ideas by themselves cannot be copyrighted or trademarked because they are not fixed in a tangible form, they are not considered a creative work. Copyright applies to the expression of an idea, not the idea itself. Patents may provide protection to some ideas, but only if they are new, useful and non-obvious.

why are accountablity and trust so important in using emerging technologiess?

Answers

Answer:

improvied accuracy, quality and cost efficiencies

Create the content for your website.

Please help

This has to be written in rough draft

Please answer the create the content for your website

And thank you

Answers

What do you need help with? I’m confused

The purpose of a flowchart is similar to the purpose of pseudocode.
True
False

Answers

I would say true. They both exist to provide people with a reference point.

Answer:

True

Explanation:

Pseudocode: In computer science, pseudocode is a plain language description of the steps in an algorithm or another system. Pseudocode often uses structural conventions of a normal programming language, but is intended for human reading rather than machine reading.

Flowchart: A flowchart is a type of diagram that represents a workflow or process. A flowchart can also be defined as a diagrammatic representation of an algorithm, a step-by-step approach to solving a task. The flowchart shows the steps as boxes of various kinds, and their order by connecting the boxes with arrows.

They are both human-written descriptions of the process or algorithm of a task.

I hope this helpedThanks for your timeJuri Davis

What is “Fair Use”?

It is the set of concepts that cannot be copyrighted or trademarked.

It is a set of situations that cause existing trademarks to expire.

It is the set of laws that enforce copyrights and trademarks.

It is a set of legal exceptions to copyrights and trademarks.

Answers

uhh I think it’s uh- B

Answer:

C

Explanation:

ERORR, the question you are looking for is not available.

Answers

Answer:

darn

Explanation:

A10:A20 Refer to values in

Question 3 options:

Cell A10 and cell A20


The cell in column A and row 10


The range of cells in column A and rows 10 through 20


The range of cells in row 15 and columns B through #

Answers

The range of cells in column A and rows 10 through 20
Other Questions
cmo se dice [tex]valiente[/tex]en sentido figurado? 4.How is a relation represented? What is the approximate volume of a cone with a height of 12 in. and radius of 9 in.? Use 3.14 to approximate pi, and express your final answer to the nearest hundredth. Enter your answer as a decimal in the box. in Which two events increased American's sense of Nationalism? Help, fast, please! Decide whether the sentences are grammatically correct or incorrectUso ms de un cepillo de dientesQuieres menos que tres dormitorios en tu nueva casa?Somos ms de 20 en la claseNo necesito ms que un problema ANYONE HELP PLEASE Which of these best describes paraphrasing?O A. Restating an author's main ideasO B. Writing questions in the margin of a textO C. Writing a difficult sentence or paragraph in your own wordsO D. Underlining key words and phrasesthe IF you could pls help me, don't answer if u don't know the answer but if correct I will give brainless. Class:Story of An HourBy Kate Chopin1894Which of the following best describes a major theme of the passage Maria started her savings account with $105. She adds $10 to it each month, including thefirst month. Jana Rae started her account with $0. She adds $25 to it each month. Afterhow many months will the girls have the same amount in their accounts? how much will theyhave? Often, characteristics are determined by several ________ ________ that interact with each other. * Tristan works in the environmental resources pathway as an environmental lawyer. He is passionate about making sure that companies do not damage the wetlands when they build commercial or residential properties. What kind of company might look to hire Tristan?A meat packaging companyA nonprofit bird conservation agency A large soft drink manufacturer A hospital and urgent care centerDidnt mean to pick world languages 1+1=2 2+2=4 4+4=8 8+8= If you had to pick two famous people to hangout with for a weekend...who would it be? Why? (credit to Jonathansa.... something else but yea) Solve for x and then find the measure of B Of the 36 students in the class, 8 of them are boys. If one student is picked at random, what is the probability that the student will be a boy? -(7-9)z-6z=8(-6+2) solve for zcan I see the process I know the answer is 8 I just don't understand the process What is the correct answer What is the slope of the line connecting the points (10, 5) and (20, 25)? What is the relationship between the bones, the heart, and the blood?