Given positive integer numinsects, write a while loop that prints that number doubled without reaching 100. follow each number with a space. after the loop, print a newline. ex: if numinsects = 8, print

Answers

Answer 1
Hi,

the program is as follows
___________________________________________________________


import java.io.*;
class doubleval

  {
     public static void main()throws IOException   
     {

       DataInputStream dt=new DataInputStream(System.in); 

System.out.println("Enter NUMBER WHOSE DOUBLE U WANT TO                                           PRINT");       
            int n=Integer.parseInt(dt.readLine()); 

                  for(int i=n;i<=100;i=2*i)       
                    {           
                         System.out.println(i);       
                            }   
            }
}


           
Answer 2

Answer: while(numInsects < 99) {

printf("%d ", numInsects);

numInsects = numInsects * 2;

}

printf("\n");

Explanation:


Related Questions

What lever has resistance between the axis (fulcrum) and the force (effort)?

Answers

secound Second class levers have the load between the effort and the fulcrum. An example of a second class lever is a wheel-barrow.

Answer:

second class lever

Explanation:

According to osha regulations, if the load on a forklift blocks the forward view, what action should be taken

Answers

You should always be able to see in the direction you are travelling. If the load blocks the forward view, travel in reverse in order to maintain a clear view. 

Write a local function named maxvalue that returns the maximum of two inputs numa and numb.

Answers

Final answer:

The task is to write a function called maxvalue which determines the larger of two numbers, numa and numb. This Python function uses an if-else statement to return the greater number.

Explanation:

To write a local function named maxvalue that returns the maximum of two inputs numa and numb, you can use the following code in Python:

def maxvalue(numa, numb):
   if numa > numb:
       return numa
   else:
       return numb

This function takes two parameters, numa and numb, and uses a simple if-else statement to determine which of the two is greater. If numa is greater than numb, it returns numa; otherwise, it returns numb. You can call this function with two numbers to get the maximum value.

Erica is CEO of a company and has recently hired a vice president of marketing. She would like to share this information with all three thousand employees. Erica should _____.
call each employee
send an e-mail to all employees
type a word processing document and print it
use diagramming software to create a chart

Answers

B: Send an e-mail to all employees

Answer:

The correct answer is send an e-mail to all employees.

Explanation:

The correct answer is send an e-mail to all employees.

I am going to explain the why of each options.

call each employee

There are three thousand employees. There is just not enough time to call each employee.

send an e-mail to all employees

The most practical way, as it takes just the time to write the email and send to a list containing all employees.

type a word processing document and print it

use diagramming software to create a chart

With these alternatives, most of the employees would not see the information.

PLEASE HELP!
What is Wikipedia's neutrality policy? Why is it important?

Answers

Also known as the NPOV, it is a fundamental principle of Wikipedia and is one of the three core content policies. NPOV which is neutral and unbiased presents fairly and by far all significant views published by reliable sources. Neutral point of view is important in this society since it encourages cooperation among encyclopedias’ contributors.  






write a for loop that displays the following set of numbers: 0,10,20,30,40,50....1000

Answers

Final answer:

A for loop can be used to display a sequence of numbers from 0 to 1000 in increments of 10. In Python, this can be done using a range function that specifies the start, end, and step values.

Explanation:

To display the set of numbers 0, 10, 20, 30, 40, 50, ..., 1000 using a for loop, you would write code with a loop that starts at 0 and increases by 10 each time, up to and including 1000. Here is an example of how this could be written in a common programming language like Python:

for i in range(0, 1001, 10):
   print(i)

This code uses the range() function to generate a sequence of numbers from 0 to 1000, with a step of 10 between each number. The for loop then iterates through that sequence, assigning each number to the variable i, which is then printed out.

William is an Architect in charge of designing a new library for a city. Which tasks will he need to perform to ensure the project’s success?

Answers

Michaelangelo's design contribution to the St. Peter project was the chancel end (the "Easter End") placed on a huge dome at the center of the Basilica.

What was his work that was appreciated?

His work is best appreciated from a distance because he played with geometric patterns that emphasized the design that he created in relation to the design of the lead architects that were also working on the Basilica.

The time management skills is allow us to accomplish the good skills that are related to time management. It is the process of planning the proper management of time to increase the efficiency and the productivity.

The main advantage of the time management skills is that it leads to more successful in the career and helps in focusing by lower the stress level. The architect applies the time management skills so that he can complete or finish the project within the specific time.

Therefore,  Michaelangelo's design contribution to the St. Peter project was the chancel end (the "Easter End") placed on a huge dome at the center of the Basilica.

Learn more about Michaelangelo's design on:

https://brainly.com/question/30751107

#SPJ3

An alteration threat violates information integrity.
a. True
b. False

Answers

The answer is True


It intentionally or unintentionally compromises a system by making unauthorized changes to data. As compared to intentional changes which are usually malicious, unintentional changes are normally accidental. Changes and modifications to the system configurations can also compromise integrity. Such modifications might include deleting, changing, and creating information in a network resource. It is best to implement mechanisms on how one can track and audit such changes as they happen




Technician a says that the above illustration shows one method used to keep the chain tension tight in an indirect drive camshaft. Technician b says that the chain tensioner compensates for any stretching that the chain experiences as it operates. Who is right?

Answers

both a and b are right read the study guides man

Technician A and B both are right in their opinions related to chain tension.

Who is a technician?

Technician may be electrical or mechanical, who has complete assembly and un-assembly knowledge. He knows the causes or consequences of the failures.

Technician A says that the above illustration shows one method used to keep the chain tension tight in an indirect drive camshaft.

While, Technician B says that the chain tensioner compensates for any stretching that the chain experiences as it operates.

In case of chain, it has self adjusting nature when connected with the cam shaft. There will not be any slack in chain.

Thus, Technician A and B both are right.

Learn more about technician.

https://brainly.com/question/14290207

#SPJ2

When implementing best practices, you will use external standalone firewalls whenever possible, but you won't go without a built-in or standalone firewall. true false?

Answers

The answer is true

Technically, we have two types of firewall, a one way firewall and a two way. A one-way firewall will protect you from incoming threats. A two-way built-in or standalone firewall will add another layer of protection and thus, it is a must have tool.


Another name for the Office Button menu is the toolbar. Please select the best answer from the choices provided T F

Answers

False is the answer for this question i just did a test on E2020 and it was false because it gave me the answer the other person is wrong just to let you know


Which of the following is the Boolean logical operator for AND in C#?

Answers

char *pch = 0; ... (pch) && (*pch = 'a');

heres an example

// expre_Logical_AND_Operator.cpp // compile with: /EHsc // Demonstrate logical AND #include <iostream> using namespace std; int main() { int a = 5, b = 10, c = 15; cout << boolalpha << "The true expression " << "a < b && b < c yields " << (a < b && b < c) << endl << "The false expression " << "a > b && b < c yields " << (a > b && b < c) << endl;

A section that appears at the top of every page is called a ?
footer.
header.
section break.
page number.

Answers

I header should be the correct answer
The answer to your question is HEADER

An empty frame used to reserve space for a picture to be inserted at a later time is known as a _____. shape image picture placeholder picture frame

Answers

An empty frame used to reserve space for a picture to be inserted at a later time is known as a Placeholder

Using data from a tal distribution database, define a view named toplevelcust. it consists of the number, name, address, balance and credit limit of all customers with credit limits that are greater than or equal to $10,000.
a. using sql, write the definition for toplevelcust.
b. write an sql query to retrieve the number and name of all customers as well as the difference between their credit limit and balance in the toplevelcust view.
c. convert the query you wrote in question 2b. to the query that the dbms will actually execute.

Answers

a) CREATE TABLE toplevelcust (number INTEGER PRIMARY KEY,  name TEXT, address TEXT, balance DOUBLE, credit DOUBLE);

b) select number, name, credit - balance from toplevelcust

c) This I cannot answer

Answer:

Option- A.

Using sql, write the definition for toplevelcust.                                                            

Explanation:

Using data from a tal distribution database, define a view named toplevelcust. it consists of the number, name, address, balance and credit limit of all customers with credit limits that are greater than or equal to $10,000.It is by using the sql, write the definition for toplevelcust.

Which three of the following expenses can student aid cover?

Answers

wrong, its (tuition, school supplies, boarding/housing) your welcome

Answer:

tuition, school supplies, boarding/housing

Explanation:

just took the test

This measures how close a biometric reading is to a prerecorded template

Answers

The question above has multiple choices;

a)      Hamming distance

b)      Match percentage

c)       Legacy amount 100.

d)      PDA reading

The answer is a) Hamming distance


Biometric authentications like other technologies are vulnerable to attacks such as spoofing and transmission. Binary template representations in recent research provide significant improvements in efficiency without compromising data accuracy for biometric modalities like iris, fingerprints, and palm prints.

Any binary biometric representation that uses hamming distance and converts it into a privacy preserving secure protocol comparison provides template protection.






To add a preformatted sidebar to a document, select the _____ icon.

Answers

To add a preformatted sidebar to a document, select the Texbox icon. The icon has an image of a page with the letter "A" on the upper left side. It is found on the drawing toolbar at the bottom or top of the document. The texbox can be used to type text in the box.

3k means about 3 thousand bytes. how would you express five billion bytes?

Answers

Hello!

You would express five billion bytes as 5G.

A business that subscribes to a specific computing model has its entire system fully functional within a short time. What benefit of cloud computing does this scenario address?

Easy access

Easy collaboration

Economies of scale

Quick deployment

Answers

Its quick development

Quick deployment: When a business opts for cloud computing and subscribes to a specific model, its entire system can be fully functional within a short time—even within a few minutes. The amount of time depends on the kind of technology and the business’s computing needs.


Quick deployment is the benefit of cloud computing does this scenario address. Hence, option D is correct.

What is Quick deployment?

A feature called quick deploy enables the deployment of components to a production environment. Running test classes on the project release date will enable this component deployment to production. Before our release day, successful validation must be completed.

Thus, option D is correct.

For more details about Quick deployment, click here:

https://brainly.com/question/10541233

#SPJ2

In cell I5, enter a formula to calculate the total admission fees collected for the 2018
Altamonte Springs Job Fair using a mixed cell reference for cell B14

Answers

Final answer:

Excel formulas with mixed cell references are used to calculate total admission fees efficiently in this context for the Altamonte Springs Job Fair.

Explanation:

Mixed cell references in Excel allow you to fix a column or row reference while leaving the other part relative. In this case, for cell I5 to calculate the total admission fees collected using a mixed cell reference for cell B14, you would use a formula like =B14*quantity, where B14 is an absolute reference and the quantity can change for different events.

Total admission fees collected can be calculated by multiplying the fixed admission fee with the quantity of attendees (cell B14) for the Altamonte Springs Job Fair in 2018.

Excel formulas with mixed cell references provide flexibility and scalability, making it easy to adapt calculations without manually changing each cell formula, enhancing efficiency in data analysis.

To calculate subtotal for a table, the first step is to use the ____ button on the table tools design tab.

Answers

To calculate subtotal for a table, the first step is to use the convert to range button on the table tools design tab.
 The button is used to stop working with your data in a table without losing any table style formatting that you have applied. It enables converting the data so it will become a part of the worksheet.

What is the text that is entered into a cell used to identify the purpose of the worksheet, columns, and rows?        A. Label   B. Value   C. Date and time   D. Function

Answers

Answer:

A. Label

Explanation:

In a spreadsheet such as Microsoft Excel, a label is text within a cell, that is used to identify the unique purpose of the data in the worksheet rows or columns surrounding it.

simply put, all words describing values/numbers are called labels, e.g. It is like going to a store and seeing a label on an item in a shelf describing the benefits of that item. the label is not the item itself but only a description.

you want to read about Web journals. which keywords would best help you find this information?
bookmark
web Not journal
blogs
web or journal

Answers

The answer is (B) and (D) web or journal, web Not journal


 Keyword is part of search engine optimization. Search engine optimization is not that heard. A keyword in a sentence is that significant word used to find info when doing your research.
Always, pick keywords that indicate main concepts of your topic. When searching, connect your keywords with Boolean values like AND, OR, and NOT





Name of the method used to start a thread execution?

Answers

The question has the below multiple choices

A.            start();

B.            init();

C.            run();

D.            resume();


The answer is (A) start();

The start() method causes a thread to start execution and is used to start a thread. The thread then moves from new state to runnable state. The run() will never be invoked until the start() method is called.





After you divide the viewfinder appropriately you locate the subject? PLZ ANSWER MY TEST DO BY TONIGHT

A/ along one of the division line

B/ to the left or right of the division if the composition is horizontal

C/ to the above or below the division if the composition is vertical

D/ both b and c

Answers

The Answer is A: along one of the division lines. 

Who are the best candidates for members of SkillsUSA? Check all that apply. Adolph wants to be an Elementary School Teacher. Ruby wants to run a farm. Rex wants to build houses. Andrea wants to be an Airline Pilot. Michel wants to be a Police Officer. Louise wants to design and produce products.

Answers

(C) - Rex wants to build houses

(D) - Andrea wants to be a Airline Pilot

(E) - Michel wants be a Police officer

(F) - Louise wants to design and produce products

Edge.

Rex wants to build houses, Andrea wants to be a Airline Pilot, Michel wants be a Police officer and Louise wants to design and produce products are the best candidates for members of SkillsUSA. Hence, option C, D, E and F are correct.

What is the SkillsUSA competition?

Students, teachers, and business partners collaborate via SkillsUSA to guarantee that America has a competent workforce. Each student succeeds thanks to SkillsUSA. In order to enhance career and technical education in the country's classrooms, we offer educational programmes, activities, and contests.

The SkillsUSA Championships are career competition occasions that highlight the best students in the country pursuing career and technical education. Local contests are followed by those at the state and national levels.

Students who fall under the definition of Public Law 105-17, the 1997 Individuals with Disabilities Education Act, are eligible for the competition. Students submit their ideas for an inventive engineering project, accompanied with a display and a working model.

Thus, option C, D, E and F are correct.

For more information about SkillsUSA competition, click here:

https://brainly.com/question/25780530

#SPJ6

Nous aimons regarder des bonnes émissions à la télé. Nous les aimons regarder. Nous aimons regarder les. Nous l'aimons regarder. Nous aimons les regarder.

Answers

Hi,

Nous aimons regarder des bonnes émissions à la télé.
 Nous aimons les regarder.

What is the last step in planning your budget

Answers

Review and Revisions

Answer:

C. review and revisions

Explanation:

I got it right on the test

The _____ icon allows the user to improve the brightness, contrast, or sharpness of the picture.

Answers

Answer:

The Corrections icon

Explanation:

In Office 2010, 2013, 2016, you can adjust the brightness, contrast, and the sharpness of a picture. This can be achieved by using the corrections tool. Assuming you already have the picture, click on it and on the Format tab, under the Pictures tools, in the Adjust group, click Corrections. Under the Sharpen/Soften or the Brightness/Contrast, you can click the thumbnails that you want to make adjustments.

Other Questions
A cookie recipe states for every 3 cups of flour, 1 1/2 teaspoons of vanilla are needed. How many teaspoons are needed for 5 cups of flour? Which of the following phrases does not describe minuet-trio form? a. Subject and answer b. Ternary form c. Third movement d. Dance form 17+4h+2=15h solve for h Using synthetic division, find the quotient Q(x) and the remainder R if the polynomial P(x) = x3 2x2 3x + 18 is divided by (x + 2). chron = "time" The definition of chron is useful to know because it functions as A. a hononym. B. a prefix. C. an adverbial suffix. D. a word root. How do worms reproduce?a. only sexually.b. only asexually.c. both sexually and asexually.d. none of the above? The belief that the United States had a mission to expand westward was called Westward Movement. Manifest Destiny. American Progress. American Destiny. The science club raised money to clean the beach the spent $29 on trashbags and $74 on waterproof boots I still have $47 left how much did they raise A geometric sequence is shown below : 2/3,2,6,18.. write the explicit formula which type of weathering creates karst topography Tundra means treeless land. True or False What brought the plague to Catania? The width of Mayas poster is 2 inches shorter than the length. The graph models the possible area (y) of Mayas poster determined by its length (x). Which describes what the point (2, 0) represents? The area is 2 if the length is 0. The area is 0 if the length is 2. The length is 2 if the width is 0. The width is 0 if the length is 2. Continuing education and seeking opportunities for relaxation are two types of professional development. true or false? Which statement is true about the parts of this expression?7.5y-z/9+50+2yhe constant is 7.5.The coefficients are 7.5 and -9The variables are x and y.the like terms are 7.5y and 2y Which one of these statements about the service portfolio is correct? (6) Some people considers etiquette to be an unnecessary restriction of freedom of personal expression. Read the passage underlined (6). There may be a mistake in punctuation, capitalization, or spelling. If you find a mistake, choose the answer that corrects the mistake. If there is no mistake, choose Correct as is. A) Correct as is. B) Some people consider etiquette to be an unnecessary restriction of freedom C) Some people consider etiquette, to be an unnecessary restrictions of freedom D) Some people consider etiquette, to be an unnecessary restrictions of freedom Chlorine___, and quaternary ammonium compound (quarts) are three approved sanitizing solutions. A. IodineB. Lemon juice concentrate how do fossial fuels contribute the pollen\ What is the setting of Five Hours to Simla? How does the setting affect the mood of the story? How does the setting help convey the theme of the story?