5.10.4: Snake Eyes

My code:


var SENTINEL = 1;




function start(){


var diceOne;


var diceTwo;




while(true) {

println("" + diceOne + "," + diceTwo);


diceOne = Randomizer.nextInt(1,6);


diceTwo = Randomizer.nextInt(1,6);




if (diceOne && diceTwo == SENTINEL){

println("" + diceOne + "," + diceTwo);


break;


}


}

}






What am I doing wrong here?

Answers

Answer 1

Answer:

You didn't specify what the function actually does. BTW, good luck coding, I love coding and it is lots of fun, just stick with it!

Explanation:


Related Questions

Give five examples of physical networking.

Answers

Answer:

Local area network (LAN), Wide area network (WAN), Metropolitan area network (MAN), Personal area network (PAN), Others

Explanation:

Others can be classified as peer to peer, bluetooth

Write a white paper or PowerPoint presentation demonstrating that you understand the essential elements of a patch
management program. Evaluate at least three patch management software solutions, recommend one, and describe why
you are making this recommendation
Use the list provided in the lesson as your template and search the Internet for information on patch management
concepts and vendor solutions to help create your plan.

Answers

Answer:

When is this due?

Explanation:

I will write it

Match each role to the corresponding web development task.

Answers

Answer:

1. Art director: selecting color palettes.

2. Web project manager: creating budget spreadsheets.

3. Usability lead: researching target audiences.

4. Developer: coding.

Explanation:

HTML is an acronym for hypertext markup language and it is a standard programming language which is used for designing, developing and creating web pages.

Generally, all HTML documents are divided into two (2) main parts; body and head. The head contains information such as version of HTML, title of a page, metadata, link to custom favicons and CSS etc. The body of the HTML document contains the contents or informations of a web page to be displayed.

The various role performed during the web development process (task) includes;

1. Art director: selecting color palettes. This individual is saddled with the responsibility of choosing the color that best fits a website.

2. Web project manager: creating budget spreadsheets. He or she is responsible for performing tasks such as creating a financial (budget) plan, start and finish date (timing), procurement, etc.

3. Usability lead: researching target audiences. This individual is saddled with the responsibility of surveying and collecting data from the demography for which the website is designed.

4. Developer: coding. This is the technical expert referred to as a web developer and is responsible for writing the set of instructions (codes) that enables the website to work properly and serve a purpose.

Name three ways you can collect responses from forms

Answers

email, social media, links
emails,files,links,social media

When someone asks, Is this information specific enough?, he or she is interested in more _____.
accuracy
logic
breadth
precision

Answers

Answer:

precision

Explanation:

In simple English precise means exact or something specific

I think it would be logic

he superclass Student contains: a constructor that accepts a String corresponding to the name of the school the student attends a toString method that returns 'student at X' where X is the name of the school the student attends. Write a public subclass HighSchoolStudent, based on Student, which contains: a constructor accepting a String which is used as a parameter to the superclass constructor a toString method that returns 'high school student at X'. This method must use the toString method of its superclass.

Answers

Solution :

public [tex]$\text{class}$[/tex] Student {

[tex]$\text{protected String}$[/tex] school[tex]$;$[/tex]

public [tex]$\text{Student}$[/tex](String school) {

[tex]$\text{this.school}$[/tex] = school;

}

public String [tex]$\text{toString}()$[/tex] {

return [tex]$\text{"student at"}$[/tex] + school;

}

}

HighSchool[tex]$\text{Student.java}$[/tex] :

public class [tex]$\text{HighSchoolStudent}$[/tex] extends Student {

public [tex]$\text{HighSchoolStudent}$[/tex](String school) {

super[tex]$\text{(school)}$[/tex];

}

public String [tex]$\text{toString}()$[/tex] {

return [tex]$\text{"high school"}$[/tex] + super.[tex]$\text{toString}()$[/tex];

}

}

What are some of the functions in the Consolidate dialog box? Check all that apply.

Average
Count
Frequency
Maximum
Minimum
Mode
Sum

Answers

Answer:

sum average and count is the answer

What is one feature of flexographic printing?
O printing on plastic
O changing images
O raised lettering
O beautiful photographs

Answers

Answer:

A is the answer thank me later

Define computer memory and write its type

Answers

Answer:

Computer memory is a generic term for all of the different types of data storage technology that a computer may use, including RAM, ROM, and flash memory. ... Another way that computer memory can vary is that some types are non-volatile, which means they can store data on a long term basis even when there is no power

Answer:

Computer memory is a generic term for all of the different types of data storage technology that a computer may use, including RAM, ROM, and flash memory. Some types of computer memory are designed to be very fast, meaning that the central processing unit (CPU) can access data stored there very quickly.

Explanation:

please help
match the features with the software
Word Processor, Spreadsheet, Database

- addiction of images, drawings, tables and graphics to text
- centralized data management
- data security
- digital version accounting sheets
- supports multiple users for adding data simultaneously
- visual representation of data
- digital version of a typewriter

Answers

Answer:

word processor- addition of images, drawing tables, and graphics to texts and digital version of a typewriter. spreadsheet- digital version of accounting sheets and visual representation of data. database- centralized data management, data security, and supports multiple users for adding data simultaneously

Just switch the two I got wrong and you'll get the correct answers. :)

The Healthcare Innovation and Technology Lab would most likely be interested in which of the following app types?

an app to use for budgeting
an app to read books
an app to help people decide on a home insurance policy
an app to send data from an insulin pump to a data collection point

Answers

Answer:

No. 4: An app to send data from an insulin pump to a data collection point.

Explanation:

Healthcare Innovation and Technology Lab would not mainly be focused with budgeting, book reading, and home insurance policies. Answer number 4 includes health and technology.

Using the simple alphabet code below, you will decode and encode the message. Write the Full
Message on the line given. Your spaces have been indicated.
1
3
5
6
7
8
9
10
12
13
2
b
4
d
11
k
a
с
e
h
i
m
f
19
j
23
1
25
14
15
16
17
18
20
21
22
24
26
Z
n
O
p
q
r
t
u
V
w
х
у

Answers

Answer:

acefghijlmb2d4k1113589136510waynopqrtuvx2261415161718202122232425

Explanation:

What is the primary language used to write web content and is the default format for Outlook messages?

Rich Text Format
Plain Text
HTML
PHP

Answers

Answer:

I think its plain text but I might be wrong

A multiuser operating system specifically allows _____.

multiple users concurrently
multiple processes concurrently
only one person at a time
only one process at a time

Answers

Answer:

multiple users concurrently

Explanation:

A multiuser operating system specifically allows multiple users concurrently.

Select the correct answer. In which item is energy stored in the form of gravitational potential energy? A. a slice of bread B. a compressed spring C. an apple on a tree D. a stretched bow string

Answers

Answer:

C. an apple on a tree

Explanation:

Energy can be defined as the ability (capacity) to do work. The two (2) main types of energy are;

a. Kinetic energy (KE): it is an energy possessed by an object or body due to its motion.

b. Gravitational potential energy (GPE): it is an energy possessed by an object or body due to its position above the earth.

Mathematically, gravitational potential energy is given by the formula;

[tex] G.P.E = mgh[/tex]

Where;

G.P.E represents gravitational potential energy measured in Joules.

m represents the mass of an object.

g represents acceleration due to gravity measured in meters per seconds square.

h represents the height measured in meters.

In an apple on a tree, energy is stored in the form of gravitational potential energy.

HELP PLEASE!
I dowloaded this app and it gave me a virus. DOES ANYONE HAVE ANY IDEA HOW TO DELETE IT? I have an apple laptop and I don't know how. My laptop send me a message telling me a have a virus and this laptop has MANY IMPORTANT FILES. PLEASE HELP ASAP. I'LL GIVE BRAINLIEST. DONT GIVE LINKS OR LEAVE IT BLANK.

Answers

Answer:

It probably is fake. Send me a screenshot. Also, just saying if it asks you to download a app of something, dont do it its just a scam to make you panic.

Explanation:

2. What is the use of the percent sign (6) and underscore in the LIKE clause? How do they differ in
operation and production of a report?​

Answers

Answer:

The percent sign % (or per cent sign in British English) is the symbol used to indicate a percentage, a number or ratio as a fraction of 100.

See also: U+2030 ‰ PER MILLE SIGN; U+2031 ...

Answer:

There are two wildcards used in conjunction with the LIKE operator. The percent sign represents zero, one or multiple characters. The underscore represents a single number or character.

Explanation:

There are two wildcards used in conjunction with the LIKE operator. The percent sign represents zero, one or multiple characters. The underscore represents a single number or character.

List three differences between word and excel

Answers

Answer:

Word: A word processor

           File extension is .doc

          Images, texts, and graphic styles can be added

Exel: A spreadsheet software

       Comprises rows and columns which combine to form cells

       File extension is .xls

I hope i helped! xoxo

What principle of animation helps facial features to be noticed?
A)Arc
B)Exaggeration
C)Solid Drawing
D)Squash and Stretch

Answers

the answer  is Squash and Stretch we use this when animating faces

-scav

Gina is a database user and her supervisor has asked her to generate a report from the structured database. Gina does not know how to write SQL commands and no forms have been created. Which of the following would be her BEST option to generate the report?
A. Direct access
B. Programmatic access
C. Query builder
D. User interface access

Answers

Answer: C. Query builder

Explanation:

Based on the information given in the question, since Gina does not know how to write SQL commands and no forms have been created, the best option to generate the report is a query builder.

With the Query Builder, Gina can be able to search and also select and filter the database objects, while also creating relationships between the objects, and save queries despite not having any SQL knowledge.

What is presentation

Answers

To present something infront of a crowd

Answer:

Presentation is the giving of something to someone, especially as part of a formal ceremony.

Explanation:

If u know then u know!!!!
Water bucket, steve, water bucket, map

Answers

I don't know but okay

I just played slither.io and got a length of 50632! Can you beat that? http://slither.io



I WANNA SEE YOU BEAT ME ¯\_(ツ)_/¯ if my name is on the leader board it's kirishima​

Answers

Answer:

Nice

Explanation:

Answer:

well yes

Explanation:

can you plz tap the thanks button and rate 5 stars thx

Need answer ASAP. I’ll mark brainliest if correct

Answers

Answer:

A boy IS-A person.

Explanation:

it sounds more convincing.

What are the 3 P's of Storytelling? (select 3 answers)
Pantomime
Place
Predicament (Problem)
Percentage
People

Answers

I think it would be
People, place, and predicament
Those make the most sense

fortnight on sat 530-10 my name is TTV BTW laggking_12

Answers

Answer: lma o

Explanation:

Which task can be completed using both the Shape Fill and Shape Outline panes of PowerPoint?
O adding color
O adding weight
O adding texture
O adding a picture

Answers

Answer:

A.) adding color

Explanation:

just did it on edg 2021

Answer:

A. Adding color

Explanation: Just did it and got it right on Edg 2021

Cindy, our company’s Chief Technology Officer (CTO), suspects that someone is trying to hack into the company, and she’s heard that you have some cybersecurity skills that could prove useful. Cindy suspects that there are some hackers who are using SQLi to launch attacks and steal information from one of the databases and also to hijack users’ sessions and take over certain accounts. Can you use your cybersecurity penetration testing skills with SQLi to track down the hackers?
Cindy will need for you to submit a report with recommendations on your findings, which is pretty typical for others in your industry with this type of role.
Write a security assessment report that will be sent to the technical team and senior management, and specifically Cindy, the CTO. Your report should be approximately 3 pages and address the following:

Summary of Findings (overview of vulnerabilities found)

Types of tests used (with details on outcomes)

Impact of Threats

How any parts of the CIA Triad could be compromised with the vulnerabilities

Does OWASP have any recommendations that you can apply?

Executive Summary (what recommendations would you give to the CTO)

Present potential solutions, mitigations, or other
suggestions for reducing or eliminating the vulnerability​

Answers

Answer:

I'm a cyber security enthusiast

Explanation:

How do you want the report delivered to you?

The variable blocks allow you to create variables and use them in a program. Variables can store numbers or strings. Scratch supports both global and object-specific variables.
Question 4 options:

Answers

Answer:

i think is D

Explanation:

if i wrong correct me

and pa brainlies din po k

You have learned about the uses of the Internet. Perform online research and identify applications of the Internet in at least four different fields, apart from the ones mentioned in the lesson. Write a short report on your findings.

Answers

Answer:

Answer:

Explanation:

Internet is useful in all the sectors and fields of research and business.

a) IT industry

b) Research

c) Efficient logistics

d) Digital marketing

Explanation:

Internet is useful in all the sectors and fields of research and business.

Some of the prominent sectors are

a) IT industry - All the work such as making of website, app, coding, etc. is due to the internet.

b) Research - Students can conduct secondary research online because of the internet and hence their research has now speeded up as compared to the time taken in earlier days

c) Efficient logistics - Be it online shopping, food delivery, parcel delivery etc. every this is driven by internet

d) Marketing on social media platform also known as e marketing is one of the most prominent field of internet application

Other Questions
Definitely could use some help. Would also be really appreciated if someone gave a breakdown of how they solved it. Thank you!!! In the 1930s, Germany, Italy, and Japan signed treaties agreeing to cooperate with eachother and forming a pact that became known as the surface area of cylinder Please help :) A sample of 60 Grade 9 students' ages was obtained to estimate the mean age of all Grade 9 students. X = 15.3 years and the population variance is 16.a. What is the point estimate for ?b. Find the 95% confidence interval for .C. Find the 99% confidence interval for .d. What conclusions can you make based on each estimate?(No links or you get reported) I NEED HELP ASAP PLEASE HELP ME!! NO LINKS OR I WILL REPORT PLS HELP!!!!!!!!!!! If you were virtual this year, do you have to go in person to take the leap test? Please Help Me I Need To Pass This PLEASE HELP ASAP! ITS DUE TONIGHT! NO FILES PLEASE! Which evidence best supports the claim in an argumentative essay that people should use cell phones only with earphones?a graph in a magazine about the number of cell phones in use around the worlda blog with stories about annoying cell phone usersa newspaper article about loss of hearing in children from loud music and gamesa science article about how talking directly on cell phones changes brain waves Find the length of AB? 132.721 rounded to the nearest hundredth. what is the value of x in the equation -3x+19=2x+106 graphing exponential functions and then State the domain, range and asymptote i need a little help here A recipe for 12 cupcakes uses 2/3 cups of sugar. The number of cupcakes is directly proportional to the amount of sugar. How many cupcakes can you make with 3 cups of sugar?help please!! i need an answer before may 7th Last week, the total weight of the members of a weight loss support group was 1,320pounds. This week, it was 1,254 pounds. What percent lighter is the group now?%SubmitI need help i will be thankful if u helped me Henry is making a corn grits recipe that calls for cup of corn grits for every cup of water.1 cups of corn grits? Enter the number in the boxHow much water will he need if he usescups of watery/x NOwWwwW pls Simplity 6.5/2 squared