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
Sloan [31]
3 years ago
13

Write the statements needed so that the variable secondWord is associated with the second word of the value of sentence . So, if

the value of sentence were "Broccoli is delicious." your code would associate secondWord with the value "is" .
Computers and Technology
1 answer:
professor190 [17]3 years ago
3 0

Answer:

Explanation:

String str = "Broccoli is delicious.";

String[] Secondstr = str.split(" ");

System.out.println("second word is " + Secondstr[1]);

You might be interested in
A study by the Pew Internet and American Life Project reports that ________ percent of Americans research products and services
katrin2010 [14]

Options:

A. 40;35

B. 60;30

C; 70;35

D. 60;35

Answer:D) 60; 35.

Explanation:Pew Research center is a Private, nonpartisan fact tank, which conducts opinion polls on public related issues such Demographic,political,economic, religious and Environmental topics it was established in the year 2014 in Washington DC,United States of America.

Pew research center conducts it's opinion polls and research through various platforms such as Social media,internet, questionnaires etc.

3 0
3 years ago
True or False: If you take a course and do not pass it, you still get credit. I feel like it's false but i'm not sure. Can I get
Margaret [11]
Its true because even if you fail a course it shows on your transcript....

8 0
3 years ago
Read 2 more answers
ACCOUNTING
ivann1987 [24]

last question is D

Hope this helps

7 0
3 years ago
Read 2 more answers
Write a function is_rightangled which, given the length of three sides of a triangle, will determine whether the triangle is rig
Olenka [21]

Answer:

Written in Python:

def is_rightangled(a,b,c):

     if abs(c**2 - (a**2 + b**2) < 0.001):

           return "True"

     else:

           return "False"

       

a = float(input("Side 1: "))

b = float(input("Side 2: "))

c = float(input("Side 3: "))

print(is_rightangled(a,b,c))

Explanation:

The function is defined here

def is_rightangled(a,b,c):

The following if statement implements Pythagoras theorem c^2 = a^2 + b^2 by checking if the left hand side is approximately equal to the right hand side

<em>      if abs(c**2 - (a**2 + b**2) < 0.001):</em>

<em>            return "True"</em>

<em>      else:</em>

<em>            return "False"</em>

If the specified condition is met, the if function returns true; Otherwise, it returns false.

The main function starts here

The next three line prompts user for the sides of the triangle

<em>a = float(input("Side 1: "))</em>

<em>b = float(input("Side 2: "))</em>

<em>c = float(input("Side 3: "))</em>

The next line calls the defined function

print(is_rightangled(a,b,c))

5 0
3 years ago
What is computer generation.<br>name that generations ​
Brut [27]
Generation in computer terminology is a change in technology a computer is/was being used. Initially, the generation term was used to distinguish between varying hardware technologies. Nowadays, generation includes both hardware and software, which together make up an entire computer system.

Generation & Description
1 First Generation
The period of first generation: 1946-1959. Vacuum tube based.

2 Second Generation
The period of second generation: 1959-1965. Transistor based.

3 Third Generation
The period of third generation: 1965-1971. Integrated Circuit based.

4 Fourth Generation
The period of fourth generation: 1971-1980. VLSI microprocessor based.

5 Fifth Generation
The period of fifth generation: 1980-onwards. ULSI microprocessor based.
7 0
3 years ago
Read 2 more answers
Other questions:
  • Consider the following table used for grading assignments.
    10·1 answer
  • What does the Auto Fill tool do?
    15·2 answers
  • The hotspot created by MiFi is password protected and can be used to connect Wi-Fi devices located within ____ feet of the MiFi
    9·1 answer
  • A _____ is a web site that allows users to edit and change its content easily and rapidly.
    9·1 answer
  • Dress4Win has asked you to recommend machine types they should deploy their application servers to.
    10·1 answer
  • What are cell phones used for?
    8·2 answers
  • Which of these parts of a computer produces an observable result?
    11·2 answers
  • Answer this pls ASAP
    11·1 answer
  • What is a virus in a computer
    10·2 answers
  • If your laptop is not able to connect to your wireless network, which of the
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!