Give the value of following Java expressions.

false || 6 > 12 && !(3==7)

Answers

Answer 1

Answer:

public class Program

{

public static void main(String[] args)

{

int j=18;

int sum=0;

for (int i =1; i<7; i++)

{

sum=sum+(i*(j-2));

j=j-2;

}

System.out.println(sum);

}

}

Explanation:

Variables used:

j : controls the first number in product and decreases by 2 each time the loop runs.

sum: saves the values of addition as the loop runs.


Related Questions

Which CPT icon should be considered when entering CPT codes into a spreadsheet for numerical sorting

Answers

Answer:

##

Hashtag##

Explanation:

Hashtag (#) symbols identifies codes out of numerical sequence. These codes are listed in Appendix N. Star symbols identify codes that, when appended by modifier 95, can be used to report telemedicine services.

What is a vertex in technical drawing?


A.location in space

B.shortest distance between two points

C.intersection of two surfaces

D.end of an edge

E. space between two intersecting lines

Answers

A point where 2 or more curves, lines, or edges meet.

Nathan wants to use the Push transition from left to right in his presentation. After he selects the Push transition, what should he do next? Select the From Left option from the Effect Options drop-down menu. Select the From Left option from the Transition group drop-down menu. Select the From Right option from the Effect Options drop-down menu. Select the From Top option from the Transition group drop-down menu

Answers

After he selects the Push transition, He should select from Left option from the Effect Options drop-down menu.

What is push transition in PowerPoint?

The Push Transition Effect is known to be a function in a PowerPoint that helps to pushes one slide to show the other.

Note that when this is  applied to any presentation, it moves the current slide upwards to reveal the next slide and so on. A person can add use this kind of effect to present a scrolling effect to one's PowerPoint work.

Learn more about presentation from

https://brainly.com/question/24653274

Answer:

A

Explanation:

the answer is A

3. Encode these sentences in ASCII: a. "Stop!" Cheryl shouted. b. Does 2 + 3 = 5?​

Answers

Answer:

"Stop!" Cheryl shouted.
34, 83, 116, 111, 112, 33, 34, 32, 67, 104, 101, 114, 121, 108, 32, 115, 104, 111, 117, 116, 101, 100, 46

Does 2 + 3 = 5?
68, 111, 101, 115, 32, 50, 32, 43, 32, 51, 32, 61, 32, 53, 63

I got these numbers with this python code:
print([ord(c) for c in '"Stop!" Cheryl shouted.'])
print([ord(c) for c in 'Does 2 + 3 = 5?'])

4. Cash inflows from investing activities normally arise from all of the following EXCEPT

a. selling fixed assets.
b. issuing stock.
c. selling investments.
d. selling intangible assets.

Answers

The answer is b. issuing stock

in your own view, how can social media be used in teaching and learning in higher education?

Answers

Answer:

through the use of zoom to teach.And reading books online

This is your code. >>> A = [21, 'dog', 'red'] >>> B = [35, 'cat', 'blue'] >>> C = [12, 'fish', 'green'] >>> e = [A,B,C] How do you refer to 'green'? e(2, 2) e(2, 2) e(2)(2) e(2)(2) e[2][2] e[2][2] e[2, 2] e[2, 2]

Answers

Explanation:

e[2][2] gives you the output for green

I hope it helped you

..........................

Answers

Answer:

there is no question write the question for an answer

…………….? Hope this helps

How do you properly turn off a computer?

Answers

Answer:

The Power Button

Explanation:

There should be a power button on the side of your computer. You might need to press it and hold it, but it varies on different computers. If you are using a new Mac, press and hold down the same button you use for Touch ID.

Why is computer called information processing machine....?​

Answers

Answer:

Since the computer accepts raw data as input and converts into information by means of data processing

Explanation:

helping!!!

The computer process information hence why it has they name it has parts like a cpu(central processing unit) that do most of the work

This question involves the creation and use of a spinner to generate random numbers in a game. a gamespinner object represents a spinner with a given number

Answers

wheres the question?? we need more information and material.

Sophia is creating a 3D model in Blender and is starting the work on the final touches. She needs to smooth out some uneven geometry in one part of her project but does not want to lose the volume or shape. What tool will allow Sophia to do this?

A.
Cloth

B.
Pose

C.
Thumb

D.
Relax

Answers

A tool which would allow Sophia to smooth out some uneven geometry in one part of her design project is: D. Relax.

What is geometry smoothing?

Geometry smoothing can be defined as a technique which is used in graphics design and animation to improve the quality of a design project, especially by removing any form of uneven geometry in its layers (mesh).

In 3D model designs using Blender, relax is a tool which would allow an end user (Sophia) to smooth out some uneven geometry in one part of her design project while retaining the volume or shape.

Read more on 3D model here: https://brainly.com/question/18736864

#SPJ1

an opening inside the system unit in which you can install additional equipment can be known as

Answers

Answer:

A bay is an open area inside the system unit in which you can install additional equipment.

Can someone tell me what's brainliest and how you can give it to someone?

Answers

Answer:

A brainliest is a best answer reward! If you think someone's answer is the best, you can choose them as the brainliest answer!! People above the rank Virtuoso need them to continure rising or to maintain their rank. :)

You can select a little grey crown on a person's answer. It should be next to a grey flag (report button). :)

Have an amazing day!!

Please rate and mark brainliest!!

What is the output of this program? numA = 2 numB = 3 if numA == 2 or numB == 2: print("yes") elif numA == 2 and numB == 3: print("no") Output:

Answers

Answer:

The outcome would be "yes".

Explenation:

numA = 2

numB = 3

if numA == 2 or numB == 2:

   print("yes")

elif numA == 2 and numB == 3:

   print("no")

numA = 2

This line of code declares the variable numA and gives it a value of 2

numB = 3

This line of code declares the variable numB and gives it a value of 3

if numA == 2 or numB == 2:

This part activate the next line of code only if the statement (numA == 2 or numB == 2) is True

   print("yes")

   This code prints out "yes" in the terminal.

elif numA == 2 and numB == 3:

This line of code is similar to the ifstatement above. The code below activates only if the statement (numA == 2 and numB == 3) is True and the previous ifstatement wasn't True.

   print("no")

   This code prints out "no" in the terminal.

Answer:

yes

Explanation:

Design an algorithm that will prompt for and receive pairs of numbers from an operator at a terminal and display their sum, product and average on the screen. If the calculated sum is over 200, an asterisk is to be displayed beside the sum. The program is to terminate when a pair of zero values is entered.

Answers

Explanation:

The Program is written in Python

Allen is a financial advisor. He would like to show his clients how much their investment has increased over the past year. What type of graph should he use?


a area graph
a pie graph
a line graph
a bar graph

Answers

Answer:

I think it is a line graph

Explanation:

..

Hint: Use a loop inside a loop to complete drawTriangle(). The outer loop is responsible for outputting the asterisk line, and the inner loop is responsible for building the asterisk line with the appropriate length by concatenating asterisks to a single string.

Answers

I didn't quite understand your answer... however... here you have a program which makes an equilateral triangle (not taken into account that the terminal isn't made of squares) made of asterisk lines.

(It was quite hard accually)

The coordinates for the section element need not be defined as long as its position is set to

Answers

Answer:

relative.

Explanation:

The coordinates for the section element need not be defined as long as its position is set to relative.

If the position is set as relative, then it will have no effect on the positioning attributes, it will consider as static position. If positioning is mentioned explicitly like top: 20px; then it will position 10 pixels down from where it is located. An ability for positional shifts is extremely helpful.

Two things happen when an element is set as relative, one is it introduces the ability to use z-index on that element, second is it limits the scope of absolutely positioned child elements.  

Audio Director meaning

Answers

Answer:

a senior audio engineer with extensive experience who establishes audio design rules, assigns project goals and deadlines to each team member, and oversees workflow throughout the project cycle.

why do we need ro use drafting tools. materials and equipment according to its job requirements​

Answers

Answer:

Drafting tools may be used for measurement and layout of drawings, or to improve the consistency and speed of creation of standard drawing elements.

Explanation:

Drafting tools may be used for measurement and layout of drawings, or to improve the consistency and speed of creation of standard drawing elements.


In Excel, which of the following data types is used for description purposes only and
not for calculations?

Answers

Which of the following what?

Either way, Excel has number, text, logical, error

Go for text

Vanessa is creating some graphic images for a page layout. What is the minimum resolution (in dots per inch) for graphic images that Vanessa
must ensure so that she gets crisp images in the final printed product?
A 72
B.300
C. 220
D. 150
E. 120

Answers

The  minimum resolution (in dots per inch) for graphic images that Vanessa is 300.

What is Website image size guidelines?

Note that a web site is one that often use about 700-800 pixels wide. this therefore means that an image that is said to be around 400 or 500 pixels wide will take a lot of space and will be very big on a monitor.

Note that The minimum resolution (in dots per inch) for graphic images that Vanessa is 300 and less than that will be too much big.

Learn more about  graphic images from

https://brainly.com/question/25938417

#SPJ1

Answer:

the answer is B. 300

Explanation:


Which image file format is the most widely used?

Answers

Answer: jpeg because its a lot of people use it for quaity

3) Controls on a form or report that describe each field—often the field name—in the underlying table


A. IntelliSense Quick Info boxes


B. Labels


C. Text boxes

Answers

Answer:

B. Lables

Explanation:

Answer:

Labels

Explanation:

Labels are the sequence of the characters used to denote some source of the codingThey are used in different programming languages like C++ and ,python and Java etc

Windows Firewall is the anti-malware software that comes free with Windows 10. Choose the answer. True False​

Answers

Answer:

true my guy

Explanation:

hahahhaha

Answer:

True

Explanation:

Frank - as the Scrum Master of a Scrum Team - is invited for a Daily Scrum meeting at 9am. The teamgets together in front of the Sprint Board but one team member is always late or does not even appear.What should Frank do?

Answers

The thing that Frank should do according to the options given is to Wait until the discussion is over.

What is a Scrum Master do?

A Scrum master is known to be a person who is said to often leads a team in course of a project through the use of Agile project management techniques.

Note that in the above scenario, Frank should wait until the discussion is over and then give a note of warning to the employee at fault.

See options below

What should Frank do?

A) Wait until the discussion is over.

B) Interrupt the discussion and organize a follow-up meeting directly after the Daily Scrum meeting.

C) Stop the discussion. The team member who started working on this particular task is responsible and he decides what and how to do with this.

All of the above

None of the above

Learn more about Scrum Master from

https://brainly.com/question/4763588

Which of the following is a snooping malware?

Answers

In computer technology, a typical example of a snooping malware is a keylogger.

What is a keylogger?

A keylogger is also referred to as a keyboard capture or keystroke logger and it can be defined as an activity-monitoring software program that is typically designed and developed to monitor, snoop, record and share a user's personal data with a cyberattacker or hacker.

This ultimately implies that, a typical example of a snooping malware is a keylogger because it can be used to monitor a users activities on a computer system.

Read more on keylogger here: brainly.com/question/17231901

#SPJ1

What is installing?
the process of putting new software on a computer
the process of replacing an older version of software with a newer version
O the process of limiting who is allowed to access your information
O the process of programming a language to use on a web page

Answers

Answer:

The process of putting a new software on a computer.

Explanation:

Installing is the process of putting a new software on a computer.

Updating is process of replacing an older version of software with a newer version.

Which of the following best describes a comparison operator?
a. An operator that turns the Drivetrain for a specific angle.
b. A command that compares the color of a disk with the number of disks collected.
C. A control statement that uses Boolean statements as conditions.
d. An operator that compares two operands.

Answers

Answer:

C. A control statement that uses Boolean statements as conditions.

Explanation:

Boolean value can either be True or False.

Control statements check if a certain condition is met. If it is then they evaluate to be true then the necessary lines of code are executed. If it evaluates to be False, the lines of code that were suppose to be executed are skipped.

For example, if y is greater than zero, divide x by y

[tex]if \: \: y > 0 : [/tex]

[tex]a = \frac{x}{y} [/tex]

Other Questions
The garden club bought 2,360 tulip bulbs. They want to split the bulbs equally into atleast 3, but less than 10, gardens with no bulbs left over. How many gardens could theysplit them into without having any left over? Present indicative of e:ie stem-changing verbs. Select the verb that makes sense in the context of the sentence.1. Mariela __________ la puerta de la clase. a. cierra b. piensa Both metaphor and analogy make comparisonsA.to strengthen the writer's message.B.to revise the writer's message.C.to outline the writer's message.D.to summarize the writer's message. Find the measure of angle six i will give you brainliest i swear Joey recorded his heart rate in beats per minute (bpm) after doing different numbers of jumping jacks His results are shown in the table below Hey guys! I need help ASAP! 5th grade math offering 15 points. I believe in u! a paper has an area of 84 square inches.what is the papers area in square centimeters A triangular prism is 18 yards long and has a triangular face with a base of 18 yards and a height of 12 yards. The other two sides of the triangle are each 15 yards. What is the surface area of the triangular prism? A rectangle has an area of 45x2 42x 48 and a width of 5x 8. what is the length of the rectangle? to find the length of the rectangle, use 45x2 42x 48 as the and 5x 8 as the . How do i do this? i'm really confused in which kind of community do people mostly work in groups that generate idea and provide services? according to peter berger which is a major characteristic of modernization brainly?A. A decrease in small traditional communities B. An Orientation to look toward the past C. A Decrease in social diversityD. A decrease in personal choice What is the value of x if 2 over 2x plus 1 over 2x is 1 over 2 What Do You View as the Critical Skills Needed to beSuccessful in College and Beyond PLEASE HELP PLEASE PLEASE Three time stue number of blue tiles in a bag is the same as 30% of the number of blue tiles in the bag increased by 54. How many blue tiles are in the bag? Would it be better to have a love that's a red red rose or a stereo? Explain the difference and defend your choice. (Gym Class Hero's and Robert Burn) Find the area of each part of the trapezoid.Then find the total area of the trapezoid. Area of triangle A: __ cm ^2 (exponent)Area of rectangle: __ cm ^2Area of triangle B: __ cm^2Area of trapeziod: __ cm^2PLEASE ANSWER FAST. what is 1/2 - 1/3 = in simplest form