1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
kicyunya [14]
3 years ago
12

Can someone URGENTLY help me with my java code (I WILL GIVE BRAINLIEST)!? Ive been working on it for hours and its not working!

Computers and Technology
1 answer:
vovikov84 [41]3 years ago
7 0

Answer:

Private ListNode intel size

You might be interested in
Write a function that accepts a positive random number as a parameter and returns the sum of the random number's digits. Write a
Luba_88 [7]

Answer:

Explanation:

The following Python program has a function called addDigits which takes a number as a parameter and returns the sum of the digits. Then the program creates a loop that keeps creating random numbers between 222 and 1000 and divides it by the value returned from the function addDigits. If the remainder is 0 is prints out a statement and breaks the loop, ending the program. The picture below shows the output of the program.

import random

def addDigits(num):

   sum = 0

   for x in str(num):

       sum += int(x)

   return sum

sum = addDigits(random.randint(222, 1000))

while True:

   myRandomNum = random.randint(2, 99)

   if (sum % myRandomNum) == 0:

       print("No remainder between: " + str(sum) + " and " + str(myRandomNum))

       break

4 0
3 years ago
in ____ structures, the computer repeats particular statements a certain number of times depending on some condition(s).
damaskus [11]

In <u>looping</u> structures, the computer repeats particular statements for a certain number of times based on some condition(s).

<h3>What is a looping structure?</h3>

A looping structure can be defined as a type of function which instructs a computer to repeat specific statements for a certain number of times based on some condition(s).

This ultimately implies that, a computer repeats particular statements for a certain number of times based on some condition(s) in looping structures.

Read more on loop here: brainly.com/question/26130037

#SPJ11

4 0
2 years ago
Read 2 more answers
286795991 número pra convidar no tiktok​
Iteru [2.4K]

Answer:

que?

Explanation:

6 0
4 years ago
Read 2 more answers
Define the term loop rule.
Triss [41]

Answer:

voltage differences

Explanation:

5 0
3 years ago
write the algorithm, flowchart and BASIC program to calculate the area of the rectangle length 50m and width 30m.​
GalinKa [24]

Answer:

The Basic Program is as follows:

10 LENGTH = 50

15 WIDTH = 30

20 AREA = WIDTH * LENGTH

25 PRINT AREA

30 END

The Algorithm is as follows:

1. Start

2. Let Length = 50

3. Let Width = 30

4. Compute Area = Length * Width

5. Display Area

6. Stop

See Attachment for flowchart (flowchart is designed using draw io tools)

Explanation:

The flowchart, algorithm and basic program all follow the same sequence and explanation

Using the basic program as a case study;

Line number 10: The program starts by initializing LENGTH to 50

Line number 15: It then initializes WIDTH to 30

Line number 20: The AREA is calculated by LENGTH * WIDTH

Line number 25: The value of AREA is printed afterwards

Line number 30: Lastly, the program stops execution

8 0
3 years ago
Other questions:
  • Encryption is the process of:
    12·1 answer
  • Impact of computer on education
    6·2 answers
  • A windows host sends a tcp segment with source port number 1200 and destination port number 25. the sending host is a(n) _______
    10·1 answer
  • Jeremy is typing a term paper on his computer and saves it every five minutes or so for good measure. which of the following bes
    11·1 answer
  • What is the use of form in HTML​
    12·1 answer
  • Carrie works on a help desk and is assigned a ticket that was automatically generated by a server because of an error. The error
    14·2 answers
  • They are correct? thank you!
    6·2 answers
  • Brendan needs to edit all the slides in a presentation by adding a company logo and a header and footer. Which is
    13·2 answers
  • Hardware is found outside the system unit.​
    13·1 answer
  • Technology __________ guides how frequently technical systems are updated, and how technical updates are approved and funded.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!