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
WARRIOR [948]
3 years ago
8

Please write in Java, 35PTS

Computers and Technology
1 answer:
ale4655 [162]3 years ago
3 0

import java.util.Scanner;

public class JavaApplication76 {

   public static String teenTalk(String message){

       String newMessage = "";

       for (int i = 0; i < message.length(); i ++){

           char c = message.charAt(i);

           if (Character.isWhitespace(c)){

               newMessage += " like ";

               c = Character.MIN_VALUE;

           }

           newMessage += c;

       }

       return newMessage;

   }

   public static void main(String[] args) {

       Scanner scan = new Scanner(System.in);

       System.out.println("Enter the text message being sent:");

       String message = scan.nextLine();

       System.out.println("The teen talk text would be:");

       System.out.println(teenTalk(message));

   }

   

}

I hope this helps!

You might be interested in
In a ____________________ attack, the attacker sends a large number of connection or information requests to disrupt a target fr
Travka [436]

Answer:

denial of service

Explanation:

3 0
3 years ago
________________are programs that designed to help users to be more productive with their personal tasks
Sergio039 [100]
Answer is • designers •

Have a nice day
7 0
3 years ago
Read 2 more answers
Select each of the strategies you can use to be more efficient when using the Internet. using tabs creating tables creating book
xeze [42]
Using tabs creating tables creating bookmarks &
<span>deleting bookmarks you are no longer using organizing bookmarks into folders
</span>
<span />
6 0
3 years ago
Read 2 more answers
By applying styles formats are being applied ?
Dovator [93]

Answer:

A

Explanation:

The same formats are being applied.

7 0
3 years ago
Read 2 more answers
A plan that outlines the steps and timeline for reaching a certain goal is called a(n):
kap26 [50]
I think it is an action plan.
5 0
3 years ago
Other questions:
  • What will be the output of “AAAAMMMMMHHHVV” using a file compression technique?
    9·2 answers
  • Effective teams use strategies that help members work together a) smoothly b) independently c) loosely d) secretly
    5·2 answers
  • Write a method called multiconcat that takes a string and an integer as parameters. return a string that consists of the string
    6·1 answer
  • In a clustered column chart, the names of each column are part of the ____ series. select one:
    14·2 answers
  • What cable should i be using to connect my android tablet to the pc?
    13·2 answers
  • __ is/are the amount of blank space between lines of text in a paragraph
    7·2 answers
  • Andrew is graduating from high school and is very interested in computers and programming. Based on the programming language mar
    5·1 answer
  • Which of the following best describes information techonolgy (IT)?
    6·1 answer
  • sunglasses sunglasses sunglasses sunglasses sunglasses sunglasses sunglasses sunglasses sunglasses sunglasses i am a failure sun
    7·2 answers
  • PART 2 - Exercise 2 - Programming Assignment
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!