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
hoa [83]
3 years ago
7

Language Java

Computers and Technology
1 answer:
galina1969 [7]3 years ago
4 0

import java.util.Scanner;

public class U4_L1_Activity_Three {

   

   public static void main(String[] args) {

       Scanner scan = new Scanner(System.in);

       System.out.println("Input a word:");

       String word = scan.nextLine();

       int index = 0;

       while (index < word.length()){

           if (index%2 == 0){

               System.out.print(word.substring(index, index+1));

           }

           index+=1;

       }

       System.out.println("");

   }

   

}

I hope this helps!

You might be interested in
Ginny downloads and modifies an open source software program, then uploads the program with a different name. Which type of soft
abruzzese [7]

Answer:

The correct answer to the following question will be "GNU General Public License".

Explanation:

GNU General Public License:

  • This is a commonly used free and license open source that ensures the right to operate, test, distribute and change the program for end-users.
  • To prevent the GNU program from becoming proprietary, Richard Stallman developed the GPL. It is a basic use of his idea of the "copyleft."

If an individual alters and downloads a free software program, the program will then be uploaded with another name, then they would have to use this type of software license.

3 0
3 years ago
What are the core components of a computer system? CPU, RAM, ROM, I/O ports, keyboard CPU, RAM, ROM, I/O ports, system bus CPU,
zimovet [89]
CPU, RAM, ROM, system bus, I/O ports
8 0
4 years ago
Read 2 more answers
What is the mass of a cookbook
tatiyna

Answer:

it varies on the size of the cookbook

Explanation:

6 0
3 years ago
Whenever I ask a question I loose points I just asked a question before and I had 56 points now I have 12 now I'll probably have
lilavasa [31]
Just try to answer some questions as well, then you can keep a nice balance.
ps. Only answer the questions you know. 
5 0
3 years ago
Which of these reduces friction and makes the job of moving a freezer easier?
laila [671]
Using a hand truck to move the freezer would make it easier and remove the element of friction between the freezer and the floor 100%
6 0
3 years ago
Other questions:
  • On your Web page, you include various links and clickable images that have the ability to trigger various functions when users c
    13·1 answer
  • As a digital forensics examiner, it’s a good idea to build a list of references for information on privacy laws in other countri
    13·1 answer
  • How does the government is i.t to run the country?
    9·1 answer
  • Are goals that<br> have concrete criteria for measuring<br> progress toward their attainment.
    5·1 answer
  • A disk drive’s data ____________________ rate is a summary performance number combining the physical aspects of data access with
    10·2 answers
  • What are the defenses to protect against these attacks?
    13·1 answer
  • What game should i get cod cold war or spiderman
    7·2 answers
  • The RAND() function in Excel returns a pseudo-random number between 0 and 1. If you enter this function into 1000 cells (i.e. en
    5·1 answer
  • What are the common camera hazards? When might you encounter these hazards in your life, and what do you plan to
    14·1 answer
  • Which of the following safety and privacy features is not included in a P2P app or service?
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!