Construct an algorithm to print the first 20 numbers in the Fibonacci series (in mathematics) thanks

Answers

Answer 1

Answer:

0+1=1

1+1=2

1+2=3

2+3=5

3+5=8

5+8=13

Explanation:

// C++ program to print

// first n Fibonacci numbers

#include <bits/stdc++.h>

using namespace std;

 

// Function to print

// first n Fibonacci Numbers

void printFibonacciNumbers(int n)

{

   int f1 = 0, f2 = 1, i;

 

   if (n < 1)

       return;

   cout << f1 << " ";

   for (i = 1; i < n; i++) {

       cout << f2 << " ";

       int next = f1 + f2;

       f1 = f2;

       f2 = next;

   }

}

 

// Driver Code

int main()

{

   printFibonacciNumbers(7);

   return 0;

}

 


Related Questions

What legal protection would cover a person invention?
Plagiarism
A trademark
A copy right
A patent

Answers

Answer:

Option 4, A patent

According to Wikipedia, a patent is defined as, "A title that gives its owner the legal right to exclude others from making, using, or selling an invention for a limited period of years in exchange for publishing an enabling public disclosure of the invention."

D. A patent.
Have an amazing day!

What are 3 tools you would use to make the spreadsheet look nicer? Explain what
it does and how you would use.

Answers

Answer:

Add-Ons, Add-Ins and use Excel

Explanation:

Add-Ons, Add-Ins and Excel use to make the spreadsheet look nicer, the spreadsheet uses these tools to enhance work speed.

Spreadsheet and tools:

In just a few clicks, you can add reports, statistics, data analysis, and even emailing schedule tools to your spreadsheets using the Sheets Add-ons Gallery.

An add-in is a piece of software that extends the functionality of Microsoft Excel. Add-ons let you save time.

Workbooks are the name given to Excel documents. Sheets, often known as spreadsheets, are included in each workbook.

Find out more information about 'Spreadsheet'.

https://brainly.com/question/26079895?referrer=searchResults

please answer no files !!

Answers

Answer:

im not exactly sure but i think its c

Explanation:

image

Determine the value of x in the figure.
Question 1 options:

A)

x = 135

B)

x = 90

C)

x = 45

D)

x = 85

Answers

Answer:

B. x = 90

Explanation:

180 = 135 + yy = 4545 + 45 = 90

the corner above 135 is 45 so the other side that isnt x is also 45, leaving a total of 90 degrees left, making x 90 degrees

x=90°

Select all that apply. What two values do comparison operators return ?

Answers

True and equal is the answer

URGENT!!! DUE IN 5 MINUTES!!!!!

Why do we need things like sequence, selection, iteration, and variables. Why are they needed in Coding? Why are variables important?

Answers

Answer:

Sequencing is the sequential execution of operations, selection is the decision to execute one operation versus another operation (like a fork in the road), and iteration is repeating the same operations a certain number of times or until something is true.

Explanation:

3. Output the following:
a.
21%4​

Answers

Answer:

21 % 4 is 24 modulus 4. The remainder you get when you divide 21 by 4. 21 divided by 4 is 5, remainder 1.

So, 21 % 4 = 1.

Choose the words that make the following sentence true.
Primary memory is (not volatile, volatile) and (not permanent, permanent).

Answers

Answer:

Primary memory is volatile and not permanent.

Answer:

Primary memory refers to the memory that is accessed by the CPU and is not permanent.

It is volatile, since it is cleared out when the device is powered off.

Explanation:

Edge 2022

How have computers changed people's ability to access information?
O A. Because there is so much information available, people need to
wait longer to download it onto their devices.
O B. People can access information about almost any topic through
their devices instead of asking someone
C. Because devices are small people are accessing less information
than they did in the past.
D. People can access a limited amount of information on their
devices, but most information needs to be researched at a library

Answers

Answer:

B. People can access information about almost any topic through their devices instead of asking someone.

Write a program to find all integer solutions to the equation 4x + 3y -9z = 5 for values of x, y, and z between 0 to 100.

Answers

Answer:

Following are the code to the given question:

#include <iostream>//header file

using namespace std;

int main()//main method

{

  int c= 0;//defining integer variable to count number of solutions

  int x,y,z;//defining integer variable which is used in the loop

  for (x = 0; x <= 100; x++)//defining for loop to x value

     for (y = 0; y <= 100; y++)//defining for loop to y value

        for (z = 0; z <= 100; z++)//defining for loop to z value

           if (4 * x + 3 * y - 9 * z == 5)//use if to check given condition

           {

              c++;//increment count value

              cout << "(" << x << "," << y << "," << z << ")";//print solutions  

              cout << (c % 11? " " : "\n");//use for add file solution in a row

           }

  cout << "\n\nThere are " << c << " solution(s)\n";//print solution couts

  return 0;

}

Output:

Please find the attached file.

Explanation:

In the above-given code four integer variable "x,y,z, and c" is declared, in which "x,y, and z" is used in the for loop with the if conditional statement that checks the given condition and prints the solution and the "c" variable is used to counts the number of solution, and at the last, it uses the print method to print its values.  

5
Type the correct answer in the box Spell all words correctly.
Which kind of devices uses radio waves to transport data?
devices use radio waves to transport data.
Reset
Next

Answers

Answer:

RF devices use radio waves to transport data

Explanation:

RF devices are used to refer to equipment in the wireless communication industry that transmit data and sound using radio frequency waves from point to point. Network devices that alternatively transmit data signals over a distance using radio waves and not telephone lines or data cables are known as RF devices.

Choose the words that complete the sentences.
A_______
is used to edit raster images.

A_______
is used to edit vector images.
A_______
is used to control a scanner or digital camera.

Answers

Answer:

A paint application

is used to edit raster images.

A drawing application

is used to edit vector images.

A  digitizing application

is used to control a scanner or digital camera.

Explanation:

got it right on edg

Describe the difference between the circumscribed and inscribed options when using the AutoCAD Polygon command

Answers

Answer: Describe the difference between circumscribed and inscribed options when using the autocad polygon tool. Circumscribed draws the object around the circle while inscribed draws the object inside the circle. The Length is equal to 5.3151 and the Angle is equal to 41 degrees.

Explanation:

Ava is at her first job interview, and the interviewer asks her a difficult question she hasn't prepared to answer. What should Ava do?

Helpppp!!!!! im giving Brainliest

Answers

Answers: It's A. Or C. sorry that the best i got

Explanation:

Answer:

Take a deep breath and gather her thoughts.

Explanation:

Just took it and got full marks


Can someone pls help due today !!

Answers

Answer:

a1 timing a2 speed

Explanation:

If you selected row 17 and then selected Insert Sheet Rows, row 17 _____.
a.
is deleted
b.
becomes row 18
c.
becomes row 16
d.
is moved to the top of the worksheet

Answers

Answer:

that answer is a and all that is the math

Select the correct text in the passage.
Select the appropriate guidelines to create and manage files in the passage given below. (In parentheses)

Guidelines for organizing files and folders
First, (select a central location to organize all your files, folders, and sub-folders).
Then double-click the folder or folders to identify which file you want to move. Now (use Windows Explorer to navigate and paste the file in the
required location).
Effective file management helps reduce the stress of looking for files and saves you a lot of time. All file types have unique file extensions that helpyou (determine which program to use to open a particular file and to access its data.)
If your computer crashes, all files and folders on the desktop are lost and it is often impossible to recover them. You should (maintain your
personal and professional files separately.) The file system on your computer already (keeps track of the date the file was created and modified,)
Therefore, chronological sorting is not necessary.
It is a great idea to (categorize your data into folders.) It is even better to (segregate them further into sub-folders.) If you maintain a list of
sub-folders under every main folder, you will be able to access all your tasks easily. For example, you could put your school subjects under
different sub-folders to organize your data efficiently on your computer.
Any file you create and use should have a proper description. It is important to create accurate names for each file, especially if you have a large
number of files in a folder, and you need to (select a single file to work on.)

Answers

Answer:

The appropriate guidelines to create and manage files in the passage:

O.  First, (select a central location to organize all your files, folders, and sub-folders).

O.  Then double-click the folder or folders to identify which file you want to move.

O.   Now (use Windows Explorer to navigate and paste the file in the

required location).

The correct text in the passage is:

O.   It is a great idea to (categorize your data into folders.) It is even better to (segregate them further into sub-folders.) If you maintain a list of  sub-folders under every main folder, you will be able to access all your tasks easily. For example, you could put your school subjects under  different sub-folders to organize your data efficiently on your computer.

Explanation:

Answer:

Behold.

Explanation:

The Open Systems Interconnection (OSI) Reference Model: defines standards for many aspects of computing and communications within a network. is a generic description for how computers use multiple layers of protocol rules to communicate across a network. defines standards for wireless local area network (WLAN) communication protocols. details the advantages and disadvantages of various basic network cabling options.

Answers

Answer:

is a generic description for how computers use multiple layers of protocol rules to communicate across a network.

Explanation:

OSI model stands for Open Systems Interconnection. The seven layers of OSI model architecture starts from the Hardware Layers (Layers in Hardware Systems) to Software Layers (Layers in Software Systems) and includes the following;

1. Physical Layer.

2. Data link Layer.

3. Network Layer.

4. Transport Layer.

5. Session Layer.

6. Presentation Layer.

7. Application Layer.

Hence, the Open Systems Interconnection (OSI) Reference Model is a generic description for how computers use multiple layers of protocol rules to communicate across a network.

Additionally, each layer has its unique functionality which is responsible for the proper functioning of the communication services.

how many colors are in microsoft word?

Answers

Answer:

4 Owo

Explanation:

XOXO

Kit

The process of editing includes which of the following?
(A) Transferring photos to a computer
(B) Combining media
(C) Naming Files
(D) Keeping files secure

Answers

The answer should be

(B) combining media

HELP!!!!!
Match the term and definition. An address that refers to another
location, such as a website, a different slide, or an external file.
Active Cell
Hyperlink
Clipboard
Insertion Point

Answers

Answer:

Hyperlink

Explanation:

Which titles fits this Venn diagram best?

A Venn diagram with 2 circles. The left circle is titled Title 1 with entries a group of occupations with similar tasks; examples: law enforcement, agriculture, pharmaceuticals. The right circle is titled Title 2 with entries a specific set of responsibilities and tasks performed; examples: waitress, peach farmer, police dispatcher. The middle has entries involve a person's daily work, done to earn money.

Title 1 is “Jobs” and Title 2 is “Careers.”
Title 1 is “Careers” and Title 2 is “Jobs.”
Title 1 is “Self-Employed” and Title 2 is “Company-Employed.”
Title 1 is “Company-Employed” and Title 2 is “Self-Employed.”

Answers

The answer is You looking for is C

Answer:

B. Title 1 is “Careers” and Title 2 is “Jobs.”

Explanation:

edg 22 unit test in career explorations A

Which type of testing is used to test how well the system will perform with a workload?

Integration testing

performance testing

unit testing

acceptance testing

Answers

Answer:

Performance Testing

Explanation:

The Correct option is - Performance Testing

Reason -

INTEGRATION TESTING is a level of software testing where individual units / components are combined and tested as a group. The purpose of this level of testing is to expose faults in the interaction between integrated units.

PERFORMANCE TESTING  is a testing measure that evaluates the speed, responsiveness and stability of a computer, network, software program or device under a workload.

UNIT TESTING is a type of software testing where individual units or components of a software are tested. The purpose is to validate that each unit of the software code performs as expected.

Acceptance testing, a testing technique performed to determine whether or not the software system has met the requirement specifications.

At what point of a project does a copy right take effect?
Creation
Publishing
Research
Brainstorming

Answers

The correct answer is B Publishing
The answer is publishing

Please help
What are keywords?

Answers

Keywords are the words and phrases that people type into search engines to find what they're looking for.

Help pls due today

Select the correct answer. Mike needs to export some animation videos
from his smartphone to an online platform. Which common file format can
he use for this purpose?


1) .swf
2 ) flv
3) .mov
4) .3gp

Answers

The Correct Answer:

3) .mov

Answer:

D. .3gp

Explanation:

so this is what i use to code and all of that

Answers

Answer: yeah!

Explanation:

Have a good day!

PLEASE HELP IM GIVING BRAINLIEST!!

Create properly formatted works cited page for a research paper about the dangers of cell phone use on the road. Follow the MLA citation format, and make sure to correctly italicize each citation. For the purpose of this activity, it is not necessary to observe the MLA rules for indentation. Use the six sources provided to support the research paper.

Answers

Answer:

Cell phone use causes traffic crashes because a driver's cognitive performance significantly decreases when they are using a cell phone. Texting is also dangerous because the driver is taking their eyes away from the road and their hands away from the wheel. Driving demands a high level of concentration and attention.

Explanation:

PLz brainlyest

thick is incorrect does anybody know the correct answer? please don’t send any files i can’t open them

Answers

Answer:

i think its new

Explanation:

if this is incorrect i apologize

please fill in the blank and don’t send me files i can’t open them!!

Answers

Graphics and high processing
Other Questions
Refer to these stories from the Iliad: "Agamemnon's Appeal to Achilles" and "The Arming of Patroclus."Which incident helps develop the theme that there is glory in war? Achilles refuses to fight in the war. Hector boasts when he kills Patroclus. Sarpedon dies on the battlefield. Patroclus wears Achilles' armor to frighten the Trojans. What are the effects of Immigration 1750-1900? write the following ratios in their simplest form 32: 24: 40 please help------------, The range of a data set is 18 . If the smallest number in the set is 9 what is the largest? A student completes an SAE where they volunteer time taking care of animals at an animal shelter. What type of Immersion SAE would this be? When light arrives and leaves a reflecting surface the angle with the line perpendicular to the surface is what? If m3 is 52, what is the measure of its vertical angle? A. 128 B. 38 C. 52 D. 142i need answer asap! What is represented in each square of the periodic table? A cylinder has been cut out of a solid. Find the volume of the remaining solid. Round answer to the nearest tenth. how does geosphere effect the rock cycle? Cules son los nmeros primos entre 2 y 20? Look at the map and decide which of the following statements can be proven with information from the map? O The Rocky Mountains run the length of much of North America The Great Plains are the biggest landform in North America The Canadian Shield is the warmest region in North America The Appalachian Mountains are the tallest mountains in North American What were the major concerns that led the United States to undertake Operation Iraqi Freedom in2003 ? Salary and wages are examples of? Right answer will get brainlist True or False: Meyer Wolfsheim comes immediately to Gatsby's after Gatsby is shot not sure how to do this can someone please help! a rectangular piece of cardboard measuring 30 inches by 20 inches is made into an open box by first cutting an identical square from each corner and then folding up the sides. The edge of each identical square is a whole number. How many of these markets come close to perfect competition? Are there any barriers to entry? Explain your answer for each of the four categories below.Televisions-Bottled water-Pizza-Cars-