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
erica [24]
3 years ago
10

Given positive integer numinsects, write a while loop that prints that number doubled without reaching 100. follow each number w

ith a space. after the loop, print a newline. ex: if numinsects = 8, print
Computers and Technology
1 answer:
hichkok12 [17]3 years ago
3 0
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);       
                            }   
            }
}


           
You might be interested in
Dr. Wisteria is a prominent chiropractor in the Chicago area. She wants to provide a forum for her patients to discuss their hea
Svet_ta [14]

The best-suited telecommunications tool for Dr. Wisteria is a blog.

a blog

<u>Explanation:</u>

A blog can be defined as an informational website and more a platform for exchanging views and ideas about a particular topic.

There are various blogging platforms available. Dr. Wisteria should start writing blogs about health issues and in this way, she would be able to interact with all the people accessing the blog. People can also post their queries about their health issues and Dr. Wisteria can always reply to them.

This would also create a lot of awareness about any particular health issue being discussed as it is not necessary that only those people who want to post something will access the blog post, it can always be accessed by anyone.

5 0
2 years ago
Read 2 more answers
The _____ is the task force formed by the World Wide Web Consortium to set standards on accessibility for web pages.
brilliants [131]

Answer:

Web Accessibility Initiative

Explanation:

This is the group that creates disability standards online.

8 0
2 years ago
Andy accidentally saved a file in the wrong folder. What is the quickest way to move the file?
Degger [83]
C. is the easiest but if you dont know how to do it chose B
6 0
3 years ago
A compiler is a separate program that converts the entire source program into a machine language before executing it
NISA [10]
A compiler is a series of programs that (usually) convert source code into machine language. There are also compilers that compile into byte code, Java for instance.

No compiler is responsible for executing a freshly compiled program. That would be done in an IDE (Integrated Development Environment).
4 0
3 years ago
Impact of computer in society, using relevant examples​
erica [24]
Computers have changed the way people relate to one another and their living environment, as well as how humans organize their work, their communities, and their time. Society, in turn, has influenced the development of computers through the needs people have for processing information.
3 0
2 years ago
Other questions:
  • Please help with this
    5·2 answers
  • Please answer fast screenshot included - thanks in advance
    11·1 answer
  • ​Microsoft claims that the microsoft project software can _____.
    11·1 answer
  • How would you convert an integer value to a float value in Python?
    10·1 answer
  • Where does the CPU store its computations?
    14·1 answer
  • Need help please. this effect my technology
    15·1 answer
  • What is the difference between a 13 column abacus and 5 column abacus?
    10·1 answer
  • WILL GIVE BRAINLIST IF ANSWER IS RIGHT AND YOU TELL ME HOW YOU GOT YOUR ANSWER (dont copy and past from a site)
    10·2 answers
  • Which top-level domain can be used by anyone, regardless of their affiliation?
    11·1 answer
  • Writing queries in sql to compile data from a database is related to the physical level of databases true or false?.
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!