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
Aliun [14]
3 years ago
14

Can someone help me with this project im confused

Computers and Technology
1 answer:
uysha [10]3 years ago
5 0

u have to progrem a math algorithum

You might be interested in
Explain why the control bus is not a bus.
slava [35]
Cause a control bus is a computer bus and controlled by a computer while a bus is controlled by a driver
3 0
3 years ago
A web page ____ can also create a style sheet that takes precedence over the internal style sheets of browsers.
posledela
This work can be done only by the creator of that web page. So i can recommend it will be 
creator / author
5 0
3 years ago
The length of a hailstone sequence is the number of terms it contains. For example, the hailstone sequence in example 1 (5, 16,
11111nata11111 [884]

Answer:

Following are the program to this question:

#include <iostream> //defining header file

using namespace std;

int hailstoneLength(int n) //defining method hailstoneLength

{

int t=1; //defining integer variable assign  

while(n!=1) //define a loop that checks value is not equal to 1

{

if(n%2==0) // check even number condition

{

n=n/2; // divide the value by 2 and store its remainder value in n

t++; //increment value of t by 1.

}

else

{

n=n*3+1; //calculate and hold value in n  

t++; //increment value of t variable by 1  

}

}

return t; //return value

}

int main() //defining main method

{

int n; //defining integer variable

cout<<"Enter any number: "; //print message

cin>> n; //input value

cout<<hailstoneLength(n); //call method and print its value

return 0;

}

Output:

Enter any number: 3

8

Explanation:

Program description can be given as follows:

  • In the given C++ language program an integer method "hailstoneLength", is declared, that accepts an integer variable "n" in its parameter.
  • Inside the method, an integer variable t is declared, that assign a value that is 1, in the next line, a while loop is declared, that uses if block to check even condition if number is even it divide by 2 and increment t variable value by 1.
  • If the number is odd it will multiply the value by 3 and add 1 and increment t by 1 then it will go to if block to check value again. when value of n is not equal to 1 it will return t variable value.
  • In the main method, an integer variable "n" is used that call the method and print its return value.
7 0
3 years ago
How many passes will it take to find the five in this list?
Savatey [412]

Answer:

1 im prety sure

Explanation:

5 0
3 years ago
Read 2 more answers
Prevent a page break in the final paragraph of this document by keeping the lines together
sineoko [7]

Answer:

1. Place your cursor in the General Provisions section towards the finish of the archive.  

2. On the Page Layout tab, in the Paragraph gathering, tap the Paragraph Dialog Box Launcher and afterward tap the Line and Paragraph Breaks tab.  

3. Select the Keep lines together checkbox and snap Ok.  

Explanation:

In a short report or one that doesn't require a complex navigational structure, you can without much of a stretch configuration words and sections so key focuses emerge and the structure of your record is clear. You can accomplish sensational by applying predefined Word Art content impacts. To keep the presence of reports and other Microsoft Office records steady, you can organize archive components by applying predefined sets of designing called styles. Moreover, you can change the textual styles, hues, and impacts all through a record with a single tick by applying a subject.

7 0
3 years ago
Other questions:
  • After doing the route tracing to a particular IP addresses, paste the path of IP addresses that were taken from your IP address
    13·1 answer
  • A four year old laptop will not boot and presents error messages on the screen
    8·1 answer
  • There are several vehicles in a parking lot. Some of them are motorcycles
    8·2 answers
  • What is the first step to creating a PivotTable?
    11·1 answer
  • How to make changes to a file on the USB drive
    6·2 answers
  • Optimizing a network to handle more traffic by adding new specialized software is an example of ______ scaling. Adding additiona
    9·1 answer
  • How is the cia triad used to evaluate encryption methods?
    6·1 answer
  • Given that arrayIntValues [MAX_ROWS][MAX_COLUMNS] is a 2 dimensional array of positive integers, write a C++ function howManyEve
    11·1 answer
  • I NEED HELP ASAP!
    6·2 answers
  • Partes de la ventana principal de Microsoft excel 2013 con sus respectivas funciones
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!