subject

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:
8 16 32 64
import java. util. scanner;
public class insectgrowth {
public static void main (string [] args) {
int numinsects = 0;

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 22:00
According to your study unit, what is the main reason that improved human relations skills may improve your grades?
Answers: 1
question
Computers and Technology, 25.06.2019 09:00
Which element of a presentation program’s interface displays the slide you are currently creating or editing? a. slide pane b. tool bar c. menu bar d. scroll bar
Answers: 1
question
Computers and Technology, 25.06.2019 09:20
Part d: float check string has a method s.isdigit() that returns true if string s contains only digits and false otherwise, i.e. s is a string that represents an integer. write a function named float_check that takes one parameter that is a string and returns true if the string represents a float and false otherwise. for the purpose of this function we define a float to be a string of digits that has at most one decimal point. note that under this definition an integer argument will return true. remember “edge cases” such as “45.” or “.45”; both should return true. for example: float_check('1234') returns true float_check('123.45') returns true float_check('123.45.67') returns false float_check('34e46') returns false float_check('.45') returns true float_check('45.') returns true float_check('45..') returns false
Answers: 2
question
Computers and Technology, 25.06.2019 16:10
4the time needed to complete a hole in golf is estimated to be 25 minutes.how long, in hours and minutes, will it take to complete 13 holes in a game?
Answers: 1
You know the right answer?
Given positive integer numinsects, write a while loop that prints that number doubled without reachi...
Questions
question
Social Studies, 12.04.2021 04:20
question
Mathematics, 12.04.2021 04:20
question
Mathematics, 12.04.2021 04:20
question
English, 12.04.2021 04:20
Questions on the website: 13722361