What does the following code segment do?
var isseven =false;
while ( isseven==false )<...
Computers and Technology, 23.08.2019 02:10 bluenblonderw
What does the following code segment do?
var isseven =false;
while ( isseven==false )
{
var roll1=math. floor(math. random( )*6+1);
var roll2=math. floor(math. random( )*6+1);
if(roll1 + roll2 ==7)
{
isseven = true;
alert(roll1 +"--"+roll2);
}
}
it keeps generating two random numbers of any values until the sum of the two numbers is 7.
it keeps generateing two random numbers between 1 and 6, and adds up the two numbers.
it keeps generating two random numbers between 1 and 6, until the sum of the two numbers is 7.
it keeps generating two random numbers between 1 and 6, then check if the sum of the two numbers is 7.
Answers: 1
Computers and Technology, 23.06.2019 00:00
Which is the correct sequence of steps to set up a document in landscape orientation? a. select page setup from the file menu. then click the margins tab and select landscape. b. select page setup from the edit menu. then click the margins tab and select landscape. c. select page setup from the insert menu. then click the margins tab and select landscape. d. select page setup from the format menu. then click the margins tab and select landscape
Answers: 1
Computers and Technology, 23.06.2019 04:00
In a word processing program, such as microsoft word, which feature to you choose the desired picture enhancement?
Answers: 2
Computers and Technology, 23.06.2019 05:00
Jason works as an accountant in a department store. he needs to keep a daily record of all the invoices issued by the store. which file naming convention would him the most?
Answers: 2
Computers and Technology, 24.06.2019 12:30
Do you think media is stereotype ? and why?
Answers: 1
English, 20.11.2020 18:20
Mathematics, 20.11.2020 18:20
Mathematics, 20.11.2020 18:20
Computers and Technology, 20.11.2020 18:20
Mathematics, 20.11.2020 18:20
Mathematics, 20.11.2020 18:20
Advanced Placement (AP), 20.11.2020 18:20
Health, 20.11.2020 18:20
Biology, 20.11.2020 18:20
History, 20.11.2020 18:20
History, 20.11.2020 18:20
Social Studies, 20.11.2020 18:20
Mathematics, 20.11.2020 18:20