plzz help....

i will mark u as brainliest if u answer correct

Plzz Help.... I Will Mark U As Brainliest If U Answer Correct

Answers

Answer 1

Answer:

import java.util.Scanner;

class Main {

 public static void main(String[] args) {

   Scanner scan = new Scanner(System.in);

   while(true) {

     System.out.print("Enter an integer (0 to exit): ");

     int num = scan.nextInt();

     if (num == 0) break;

     if (num%3 == 0 && num%5 == 0) {

       System.out.printf("%d is divisable by both 3 and 5.\n", num);

     }

     else if (num%3 == 0 && num%5 != 0) {

       System.out.printf("%d is divisable by 3 but not by 5.\n", num);

     }

     else if (num%3 != 0 && num%5 == 0) {

       System.out.printf("%d is divisable by 5 but not by 3.\n", num);

     } else {

       System.out.printf("%d is not divisable by 3 or 5.\n", num);

     }

   }

   scan.close();

 }

}


Related Questions

Why are asl tls and https necessary

Answers

Mark brainliest if satisfied
HTTPS is a secure extension of HTTP. Websites that install and configure an SSL/TLS certificate can use the HTTPS protocol to establish a secure connection with the server. The goal of SSL/TLS is to make it safe and secure to transmit sensitive information including personal data, payment or login information.

it was field day for the upper grades at Rock Creek School,
Each grade had to choose a team name and a color for their tee-shirts,
Use the clues below to figure out what each grade chose for their team name and tee-shirt color,
each grade can chose one color and one team name.

- The third and fifth grades didn't choose an animal for their team name.
-The forth grade ended up with red tee-shirts with sharks on the.
-The fifth graders and tornadoes are not wearing teal.
-The bears are wearing green.

Some of the photo cut off sorry​

Answers

Answer: it’s green

Explanation:

PYTHON
How can I make a algorithm in python that finds how many numbers are in a row in a list?

For example:

Input:
List = [0,1,1,1,0]
num = 1

Output:
3

Answers

Answer:

This is one of the efficient ways to find the number of occurrences of a given number in a list:

def find_num(arr,n):    return len([count for count in arr if count == n])print(find_num([0,1,1,1,0],1))

If you want a simpler version, you can try this:

def find_num(arr,n):    count = 0    for i in range(len(arr)):        if arr[i]==n:            count += 1    return countprint(find_num([0,1,1,1,0],1))

This is the simplest method:

arr = [0,1,1,1,0]print(arr.count(1))

I think I gave you enough examples. This should get you started off easily.

If you need an explanation, I am happy to help you. BTW I started python 6 months back so even I am pretty new to this.

Which statement describes what this command accomplishes when inside and outside interfaces are correctly identified for NAT? ip nat inside source static tcp 192.168.1.50 80 209.165.201.1 8080 extendable A. It allows host 192.168.1.50 to access external websites using TCP port 8080. B. It allows external clients coming from public IP 209.165.201.1 to connect to a web server at 192.168.1.50. C. It allows external clients to connect to a web server hosted on 192.168.1.50. D. It represents an incorrect NAT configuration because it uses standard TCP ports.

Answers

Answer:

The answer is "Option C".

Explanation:

The NAT accurately identifies the environment and internal interfaces, and main customers can link to a 192.168.1.50 Web server. When designed for, proxies examine input and output packages. IP nat "inside source" implies to encourage an outgoing parcel emanating from an "outside" application and behave accordingly.

Sara just started using the Internet she would like to be a little more efficient and 3 to 4 sentences give Saras some advice about how to be more efficient or using the web

Answers

Answer:

Explanation:

Efficiency with using the internet is mainly about practice. First, you should focus on making sure that your mouse and keyboard are comfortable devices for you and are positioned in a way that best suits your sitting style. Next would be using a browser that allows extension installing as there are many extension applications that drastically simplify everyday internet tasks such as closing a tab, or copying and pasting some text. Lastly, would be practice. Nobody is efficient when they first start learning to use something new, it takes practice. The more you do something the better you get at it.

In cell B3, insert a nested MATCH function within an INDEX function that will look up the rental price in column D using the apartment number referenced in cell B2. With 101 entered in cell B2, the lookup function displays $950.00.

Answers

Solution :

Step 1:

Open the excel exploring_e07_grader_h1_Apartment.xlsx and save it as exploring_e07_grader_h1_Apartment_LastFirst.

Step 2:

At cell G8 in the Summary worksheet, insert the date function to the number of Years since remodel:

Compute the difference between the years 1/1/2018 value in the cell H2 and the Last remodel date present in cell F8 which returns the number of days.

Then, divide the resultant by 365 days to get the answer in the form of years.

The formula to compute the number of years since remodel at cell G8 is,

 =($H$2 - F8)/365.25

Copy the function used in the cell G8 to the cells G9:G57.

Step 3:

At cell H8 in the Summary worksheet, insert the function to compute the pet deposit.

Condition to check is whether the number of rooms that is at Cell C8 is greater than or equal to 2 and it is remodel less than 10 years ago.

If the condition is true, then pet deposit cost is $275 present at cell H4.

Otherwise the pet deposit cost is $200 present at cell H5.

So, the formula to apply at cell H8 is,

=IF(AND(C8>=2, G8<$H$3), $H$4, $H$5)

Step 4:

At cell I8 in the Summary worksheet, insert the function to display Need to Remodel:

Condition to check is whether the apartment is unoccupied depending on the cell E8(“Yes” or “No”) and last remodeled that is cell G8 is greater than 10 years (cell H3).

If the condition is true, then display as “No Change”.

Otherwise display as “Need to Remodel”.

So, the formula to apply at Cell I8 is,

=IF(_AND(_E8="No", G8>$H$3), "Need to Remodel", "No Change")

Step 5:

Copy the functions used in the cells H8:I8 to the cell range H9:I57.

Step 6:

At cell B3, to display the rental price:

By using Index function look up for the rental price present in Column D and check for the match of cell B2 with respective the Column Range A8:A57.

Syntax for INDEX function is:

=INDEX(Array, Row number, Column number)

Syntax for MATCH function is:

=MATCH(Loop up, Loop up array, Match type)

So, the function to be inserted at cell B3 is,

 =INDEX($D$8:$D$57, MATCH(B2, $A$8:$A$57,0))

What is unique about the date calculations from other formulas? Some do not require any arguments. It uses absolute numbers. It uses / for division. It uses parentheses for arguments.

Answers

Answer:

a. Some do not require any arguments.

Explanation:

Answer:

A) Some do not require any arguments.

Explanation:

on edge 2020

I
2.
Given that the input A is false and the input B is false, what is the resulting value of the output?


c. True
d. False

Answers

Answer:

True

Explanation:

Not(False) OR False = True OR False = True

Tori needs to turn her Turtle to the left 90 pixels. Which line of code should Tori use?

A tina(90)
B tina.back(90)
C tina.left(90)
D tina.right(90)

Answers

Answer: D tina right (90)

Explanation:

right

Answer:

D tina.right(90)

Explanation:

Please Help ASAP. Marking Brainliest For Correct Answer.

Explore the program below, referring to the task description to know what task the chunk of code is supposed to execute. Explain why the program is not working as intended, then rewrite/rework the program so that it performs the intended task as stated in the description.

The following situation uses a robot in a grid of squares. The robot is represented by a triangle which is initially in the top left square and facing right. The robot may not travel through the black squares. The program below is intended to move the robot from its starting position to the gray square, but it is not currently working. The program segment uses the procedure called GoalReached , which evaluates to true if the robot is in the gray square and evaluates to false otherwise.

In complete sentences, explain why the program is not working as intended, and also provide a solution that allows the program to perform its intended task.

Answers

Answer: It is not working because it is missing the code needed to turn right.

Sentence :The robot would move forward two squares and would stay stuck there because it can not move forward nor turn left. You would need to add code for the robot to be able to turn right so that the robot can reach the goal

There are several reasons that could make a code segment not to work.

The attached code is not working because, the method ROTATE_RIGHT() is missing

From the given code segment, we have the following observations

The robot can turn left using ROTATE_LEFT()The robot can move forward using MOVE_FORWARD()

However, when there is a need for the robot to turn right, the code segment does not have a provision for that.

Hence, the reason the code is not working is because:

The method ROTATE_RIGHT() is missing

The solution to this is to provide a ROTATE_RIGHT() method in the code segment

Read more about debugging at:

https://brainly.com/question/23527739

Select the correct text in the passage
Which sentence determines that Robert is adjusting the brightness slider?
Robert was editing a photograph. The highlighted portion of the picture and the middle tones became dark when he moved a slider to the
extreme left. The luminance of the image turned to a middle gray when he moved a slider to the left. He increased the luminance of the pixels
by pushing a slider to the extreme right. Because of this important details of the picture were lost. However, sometimes Auto Tone or Auto
Contrast can help resolve tonal problems

Answers

Explanation:

he increased the luminance of the pixels by pushing the slider to the extreme right, because auto contrast and auto will be able to adjust to effect if any important detail on the image may be lost in the process of adjusting the brightest slider

The sentence that has been determining that Robert is adjusting the brightness slider is that he increased the luminescence of the pixels in order to push the slider to the extreme right.

What is a brightness slider?

A brightness slider has been given to the system with the photographer to control the lights. It made the system that has been better reading.

In the work Robert has been the photographer, thereby he was required to make the corrections to the picture with the change in the tone by shifting the brightness slider to the extreme left. The other change made by Robert to the photograph is to change the luminance to white gray.

He was changing the luminescence of the photograph by shifting the slider to the extreme left and extreme right.

Learn more about brightness slider, here:

https://brainly.com/question/899071

#SPJ5

1.
Given that the input A is true and the input B is false, what is the resulting value of
the output?


a. True
b. False

Answers

Answer:

Therefore, given that input A is true and the input B is false, then the resulting value of  the output will be 'False'.

Hence, option B is true.

Explanation:

Given

input A = T

input B = F

OR GATE:

INPUTS                    OUTPUT

A        B                         C

T        F                          T

It means when the inputs of the OR GATE is 'T' and 'F' respectively, the output would be 'T'.

Then if we implement NOT gate on the output 'T', the final output will be 'F'.

Because the NOT gate would just convert the 'T' into 'F'.

Therefore, given that input A is true and the input B is false, then the resulting value of  the output will be 'False'.

Hence, option B is true.

In the given question we use OR and NOT gate which can be explained as follows:

The OR gate is a type of digital logic gate that generates a 1 if any of its inputs is a 1, else it produces a 0. The OR gate functions analogously to two parallel switches that feed a light, so that when either switch is closed, the light is turned on.The NOT gate is a type of electrical circuit that produces an inverted replica of its input at its output. An inverter is another name for it. If the input variable is A, the inverted output is referred to as NOT A. It is alternatively represented as "A" or "A with a bar over the top," as seen in the outputs.

Explanation of code:

In this graph when A is "True" and B is not true, which means "False" and we pass both the value into OR gate its value will be "True".  

Therefore, the final answer is option a that is "true".

Learn more about the logic gate:

brainly.com/question/13283896

Text should always be compressed using... A - Lossless compression because it it more efficient at compression, because it usually has a large file size which we need to reduce so we don't use up all our data B - Lossless compression because it can reproduce the original message, and it's important to be able to reconstruct the original message for communication purposes. C - Lossy compression because it it more efficient at compression, because it usually has a large file size which we need to reduce so we don't use up all our data D - Lossy compression because it can reproduce the original message, and it's important to be able to reconstruct the original message for communication purposes.

Answers

Answer:

B - Lossless compression because it can reproduce the original message, and it's important to be able to reconstruct the original message for communication purposes

Explanation:

Given that a Lossless compression is a form of file compression technique that is characterized by keeping the originality or quality of the file data while at the same time reducing the file size.

Hence, Text should always be compressed using "Lossless compression because it can reproduce the original message, and it's important to be able to reconstruct the original message for communication purposes."

Question 6(Multiple Choice Worth 2 points)
(01.03 MC)
There is no sound coming from the speakers. What could be the cause of this problem?
O The computer case is dirty.
The keyboard is not plugged in.
O The monitor isn't working correctly.
The volume is not turned on.

Answers

Answer:

The volume is not turned on.

Explanation:

A speaker can be defined as an electronic output device that is typically used for the conversion of an electromagnetic wave to sound wave.

Basically, this conversion is done through the help of a hardware electronic component known as transducers.

The main purpose of a speaker is to produce an audio output and as such avail the computer users an ability to hear or listen to sounds.

Hence, if there is no sound coming from the speakers; the cause of this problem could be that, the volume is not turned on because the volume determines the level of sound (output) from the speakers. Thus, if it is turned off (low), there won't be any sound from the speakers.

Answer: Your answer would be option D: The volume is not turned on.

I say this because doing the others wouldn't help fix the problem with the speakers

Your manager has asked you to improve network security by confining sensitive internal data traffic to computers on a specific subnet using access control lists (ACLs). On which device(s) should the ACLs be deployed

Answers

Answer:

computers

Explanation:

What are the two most common formats of a business letter?
Flyer and outline
Formal and informal
Corporate and LLC
Block and indented

Answers

The two most common formats of a business letter:

Block and indented

and
Why the computer is called dilligent
Versatile machine?give long answer ​

Answers

Answer:

The answer to this question is given below in this explanation section.

Explanation:

"Why the computer is called diligent

Versatile machine"

Computer is called versatile machine because it is used in almost all the fields for various purposes.Because it can perform the task repeatedly without loosing its speed and accuracy for a long time.They are versatile because they can be used for all sorts of task.They can also do many of the same tasks in different ways.Computer is the electronic device which perform the logical and mathematical calculation.Computer is known as the  versatile machine because it is very fast in every field and its part of life without it was cannot imagine life.

It can do the work faster and in every field the computer is used for making their work faster.

It can perform the work fast so it is called versatile machine.

Advantages of versatile machine:

Computer are very fast due to which thousand of job can be performed within the short period of time.Complex mathematical problems and logical operations can be solved by using this computer.As computer is versatile device,multiple task like communication,graphics,documentation can be done.

Disadvantages of versatile machine:

Computers are machine hence they have no brain so they work according to the program instruction set inside it.It is an electronic deice and it uses electronic sources to work,So it is very risk to store data and information on the computer independently because some electric and electronic damages may damage the data.So we have to make regular backup of the data.

What is Fill handle?

Answers

Answer: I copied and pasted my answer if you need the website to cite information let me know

Explanation:

Fill Handle is a feature in Excel that enables you to auto-complete a list in a row/column by simply dragging it using your mouse. A basic understanding of fill handle in Excel could save you some time and make you more productive.

discuss the various computer generation along with the key characteristics of computer of each generation​

Answers

Explanation:

Here are some pic . hope it may help you.

The most commnonly used OS is ___.
MS-DOS
Windows
Mac
Linux

Answers

Answer:

Windows

Explanation:

The most commonly used OS today is Microsoft Windows. Microsoft's founder and President Bill Gates created the operating system way back then.

Windows is the default standard in most computers you see today and is in use in across millions/billions of devices.

Mac and Linux are similar; Mac OS, or SierraOS, is a custum Linux base OS. Both of these operating systems are popular now, but still not as widespread popular as Windows.

SierraOS only targets Mac/Apple Users. Linux targets coders.

photograph connect to globalization?​

Answers

Answer:

This globalisation may be through the World Wide Web, travelling exhibitions, television, or books, newspapers, and magazines. An off shoot of this international dissemination is the commercial, cultural, and political benefits that globalisation adds to the value of photography.

Explanation:

grade 10 python exercise
Write a program that prints, as a word, the value of the last digit of the int variable number. For example, if the value of number is 547, the fragment should print:
The last digit of 547 is seven

Answers

number = 547

nums = {1:"one", 2:"two",3:"three",4:"four",5:"five",6:"six",7:"seven",8:"eight",9:"nine"}

print("The last digit of",number,"is",nums[number%10])

I wrote my code in python 3.8. I hope this helps.

JAVA

plzzz help...........​

Answers

Answer:

import java.util.Scanner;

class Main {

 public static void main(String[] args) {

   Scanner scan = new Scanner(System.in);

   while(true) {

     System.out.print("Enter an integer (0 to exit): ");

     int num = scan.nextInt();

     if (num == 0) break;

     if (num%3 == 0 && num%5 == 0) {

       System.out.printf("%d is divisable by both 3 and 5.\n", num);

     }

     else if (num%3 == 0 && num%5 != 0) {

       System.out.printf("%d is divisable by 3 but not by 5.\n", num);

     }

     else if (num%3 != 0 && num%5 == 0) {

       System.out.printf("%d is divisable by 5 but not by 3.\n", num);

     } else {

       System.out.printf("%d is not divisable by 3 or 5.\n", num);

     }

   }

   scan.close();

 }

}

selling R frog for 50 r-obux on r-oblox!!! dont answer if u not gonna buy it
user: its_ninisuuuYT

Answers

No it’s not worth that much

Answer:

This is a complete waste of this site.

Explanation:

The whole point of this website is to provide answers for questions you have on schoolwork. Why not just go back to r-oblox and sell to your friends there? Aint nobody gonna buy nothing when you post about it on Brainly.

Select the correct answer.
Jeff has created a table to calculate the cost of raw materials that he purchases monthly. Cell A2 shows the fixed cost of the raw material (3). Column D lists the
quantity (number of units) that Jeff purchased each month. What formula can Jeff use in E2 to calculate the monthly cost of the raw material that he can copy to all
the rows below?
1 Monthly rate
2
3
4
5
6
7
Month
Jan
Feb
Mar
Apr
May
Jun
D
Number of units Cost
10
8
12
13
10
15
ОА.
=A2*D2
B.
=$A2 D2
ОС.
=$A$2*$D$2
D. =$A$2*D$2
E.
=A$2*D2

Answers

Answer:ell A2 shows the fixed cost of the raw material (3). Column D lists the quantity (number of units) that Jeff purchased each month. What formula ..

Explanation:

How comfortable are you relying on others to achieve your performence goals?

Answers

Answer:

Tbh I don't like to depend on people to achieve my goals but if I want to depend on someone I first have to know them really well and see if I can trust them so I'm really comfortable with people I know but if it's a a random person so I don't think I will be comfortable

do you know zombsroyal.io

Answers

Answer:

nope. i might go look for it tho

Answer:

Yeah I play it

Explanation:

What's your tag? I'm kinda cracked

Explain the impacts of computer in education

Answers

Answer:

Please check the explanation.

Explanation:

The impact of computers in education has been absolutely phenomenal. Just imagine using your computer and having access to the internet, you can easily ask the question of a certain problem on Brainly, and many subject specialists on Brainly using their own computers can answer your query, helping you clear your concepts.

Some of the other advantages or positive impacts of computers in education.

Rapid communication between teachers, students, and administrationRapid internet reference may be more productive than exploring lengthy booksAudio-visual aids during learningquick information retrieval

Now, some of the negative impacts of computer in education

May encourage cheating opportunity Students may get lazy in class as they know they can get online supportE-books may extinct paper booksCertain only resources have made their resources a profit factory

Answer:

The Impact of Computers on Education The introduction of computers in education has positively affected the school in terms of student achievement, administrative and teaching methods. Computers have significantly altered student achievement. The computers in schools today are equipped with educational software that greatly aids learning.

Explanation:

What was the job of the Committee of Correspondence? WILL GIVE BRANLEST AND 40 POINT

to tar and feather all British tax collectors
to communicate with the British Parliament
to contact each colony's legislature and pressure them to pay British taxes
to contact each colony's legislatures so they could join together in their opposition to the British

Answers

Answer:

to contact each colony's legislatures so they could join together in their opposition to the British

Explanation:

The committees of correspondence functioned mainly as a means of spreading news and information about the Patriot cause and mobilizing opposition to British policies in cities, towns and rural communities throughout the colonies.

Answer: to contact each colony's legislatures so they could join together in their opposition to the British

Explanation:

Leave a thanks and review if it helped, thanks?!

When you login to your blogging account. The first screen with all controls, tools and functions is called .... Select one: a. Dashboard b. Templates c optians

Answers

Answer:

a. dashboard

Explanation:

In almost every program or webpage where you log in with a personal account. The first screen that contains all your pertinent information and the controls/tools for your account is known as the dashboard. Here you are able to adjust, modify, fix, and analyze all aspects of your account, including the data it contains. The dashboard is extremely useful and often times a necessity for every application.

There are different kinds of devices.  The dashboard option provides all the controls, tools and functions to the blogger to have an easy access to the site.

When you login to your blogging account what is the first screen?

The first screen a person can see when you log into your site is the dashboard of your administrative area.

A blog or called Weblog is known to be an online journal where an person, group, or corporation usually put or present a record of activities, thoughts, etc.

Learn more about dashboard from

https://brainly.com/question/1147194

Other Questions
In how many years the simple interest on 2000 is less than the simple interest on 33000 at 5% by 50?[Irrelevant answers will be reported] can someone please help me with this quesiton?!! can someone please help?? If 1kg of onion costs Rs 1614, How much onion can be bought for Rs 130?If 1kg of onion costs Rs 1614, How much onion can be bought for Rs 130? Which expression is equivalent to (x Superscript 27 Baseline y) Superscript one-third?x cubed (RootIndex 3 StartRoot y EndRoot)x Superscript 9 Baseline (RootIndex 3 StartRoot y EndRoot)x Superscript 27 Baseline (RootIndex 3 StartRoot y EndRoot)x Superscript 24 Baseline (RootIndex 3 StartRoot y EndRoot) 20-30 pls answer the questionspls do not the translate the question and answerI want the answerpls help me guys plsPLEASE!! ha get simp carded! also do you like my other drawing?? oh wait it only lets me put one image im so sad cryes At the end of the current year, the accounts receivable account of Malik's Lanscaping Service has a debit balance of $390,000. Credit sales are $2,730,000. Record the end-of-period adjusting entry on December 31, in general journal form, for the estimated uncollectible accounts. Assume the following independent conditions existed prior to the adjustment:Allowance for Doubtful Accounts has a credit balance of $1,770. The percentage of sales method is used and bad debt expense is estimated to be 1% of credit sales. If an amount box does not require an entry, leave it blank. Date Account title Doc No. Post REF Debit Credit1. 20-Dec.31 _____________2. _____________3. _____________ What is the meaning of vigilantes as it is used paragraph four of nothing of Envy A school club wants to collect at least 500 canned goods for a school food drive. The club has already collected 30 canned goodsPart AIf 10 club members each collect the same number of canned goods, which inequality represents the minimum number of canned goods, n, each clubmember must select for the club to meet the goals? List and explain the 8 roles of the President of theUnited State determine the x-intercepts of the function. check all that appy An experiment consists of rolling two fair dice and adding the dots on the two sides facing up. What is the probability that the sun of the dots is 7 or 11 5X-223{x+1 I need help Hey guys please Answer this questions...!! 2 Dill Tates was actually visiting our school, which was clearly in the middle of nowhere. Although the legendary computer programmer was the pride of our state, our town was eclipsed in the grand scheme of things. That day, our school was in a festive mood. Tates' achievements in the field of programming were unparalleled. Even my parents wanted to attend the lecture to see Mr. Tates in person. Perhaps his words had inspired me to pursue an education in computer technology. I vividly remember how the lecture began: You have invited me here because _______ "Which of these would exemplify understatement if added to Tate's words at the end of the story? As part of his research on the Civil War, Charlie is reading a book about ironclads (a type of boat) and how they revolutionized naval warfare. Early mines used to be ventilated as illustrated below. Explain why this works in terms of convection. Please answer fast! Thank you! please help *10* points. i know not a lot but i dont have very many points left... PLEASE HELP ME YALL ****ASAP****Which of the following climate regions tends to have short grasses and shrubs that receive little rain? A. tropical wet and dry B. humid subtropical C. moderate D. semiarid Steam Workshop Downloader