1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
sertanlavr [38]
4 years ago
13

Hi i need help with this problem ( it is a java coding problem)

Computers and Technology
2 answers:
s2008m [1.1K]4 years ago
7 0

Say child has to take n steps.

At every step the child has 3 options, to take 1 step, 2 step or 3 steps.

So if child take 1 step then find the number of ways to complete n-1 steps +1.

Similarly if child take 2 steps then find the number of ways to complete n-2 steps +1.

If child take 3 step then find the number of ways to complete n-3 steps +1.

So total number of ways to complete n steps = No of ways to complete (n-1)steps + No of ways to complete (n-2)steps + No of ways to complete (n-3)steps +1.

Stels [109]4 years ago
7 0

Answer:

4

Explanation:

If we consider a typical staircase with standard design, there is the possibility to move up the staircase by taking a single step at a time. In addition, it is also possible to take two steps followed by one step. It is also possible to take one step first followed by two steps. Lastly, it is also possible to take three steps. Therefore, the possible ways (N) will be:

N = S(1,1,1) + S(2,1) + S(1,2) + S(3) = 4

You might be interested in
What is booting as used in computers?​
Sliva [168]

Answer:

the startup process

Explanation:

5 0
3 years ago
Read 2 more answers
When computer networks are connected to each other, the system is called a(n) ____.
KiRa [710]
LAN - Local area network :P
5 0
4 years ago
Which type of link is normally used to interconnect two peripheral modules (pm) in the digital multiplex system (dms)?
natta225 [31]

The answer is DS-30A. The Roland DS30A is a 24-bit Digital Reference Monitor which can add pristine 24-bit/96kHz. They are small speakers.

4 0
3 years ago
You decide to use a packet sniffer to identify the type of traffic sent to a router. You run the packet sniffing software on a d
ycow [4]

Answer:

Promiscuous mode

Explanation:

You decide to use a packet sniffer to identify the type of traffic sent to a router. You run the packet sniffing software on a device connected to the same hub that is connected to the router. When you run the software, you only see frames addresse…

✓ Promiscuous mode

7 0
3 years ago
If one employee is assigned to a project and each project has only one employee working on it, there is a(n) ____ relationship b
Len [333]

Answer:

One-to-one is the answer because there is one project and one employee working on one project.

5 0
3 years ago
Other questions:
  • ________ sets up a point-to-point connection between two computer systems over an Internet Protocol (IP) network. A. Point-to-Po
    15·1 answer
  • Virtually all webcams plug into a(n) ________ port.
    13·2 answers
  • Why can't you test a program for run-time errors when it has compile-time (syntax) errors
    6·1 answer
  • True or false? A medical assistant can check for available exam rooms and providers using an electronic scheduling system.
    8·1 answer
  • Communications that take the form of electronic junk mail or unsolicited e-mail are referred to as
    13·2 answers
  • _____ are agencies that specialize in offering services, such as database management, and the ability to create, produce, and di
    9·1 answer
  • Write a program that echos back any inputted integer greater than 1, and exits when a 0 is entered. Your program should use a co
    11·1 answer
  • Assignment 1: silly sentences edhesive
    7·1 answer
  • What is a key function of a scrum master plato answer plz
    13·1 answer
  • One easy way to tell if a cell contains a formula instead of data is to click on the cell and look at the formula bar to
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!