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
igomit [66]
3 years ago
7

JAVA

Computers and Technology
1 answer:
butalik [34]3 years ago
5 0

Answer:

import java.util.*;

public class MyClass {

   public static void main(String args[]) {

       Scanner input = new Scanner(System.in);

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

       String userinput = input.nextLine();

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

           System.out.print(userinput.charAt(i));

       }

   }

}

Explanation:

This line prompts user for input

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

This declares a string variable named userinput and also gets input from the user

       String userinput = input.nextLine();

The following iterates through every other character of userinput from the first using iteration variable i and i is incremented by 2

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

This prints characters at i-th position

           System.out.print(userinput.charAt(i));

You might be interested in
If classes C1 and C2 both implement an interface Cint, which has a method whichIsIt, and if C1 c = new C1( ); is performed at on
Assoli18 [71]

Answer:

FALSE

Explanation:

Because C1 and C2 implement the same interface, they both implement whichIsIt. The variable c is known as a polymorphic variable, meaning that it can change from being an C1 to a C2. So, the message c.whichIsIt( ); may invoke C1's whichIsIt or C2's whichIsIt. This can only be known at runtime.

5 0
3 years ago
One of the most notable impacts of IT on business is improved
Igoryamba

One of the most notable impacts of IT on business is improved efficiency  of security communication.

<h3>What is security communication?</h3>

Security Communication Systems are said to be a vital aspect or part of works as well as in security mitigation measure.

The use of security communication in any organization is known to be the use of security tools to be able to keep the organization safe from any form of attack.

Note that One of the most notable impacts of IT on business is improved efficiency  of security communication as it boast security of data.

Learn more about security communication  from

brainly.com/question/25720881

#SPJ1

8 0
2 years ago
Question 15 of 28 (1 point) Jump to Question: Among many other responsibilities, a competent person is responsible for: A. All o
Archy [21]

I think the answer is

A) All of the answers are correct

I hope this helps :)

4 0
4 years ago
What does a mother board in a computer do?
IRINA_888 [86]

The motherboard is the central component of a computer. Without it, the computer would not work. The mother board is sometimes called "the heart of the computer" because it allows thinks to function properly.

The motherboard of the computer is the part that holds the system memory and audio. It's a printed circuit board.

4 0
3 years ago
An attribute is a(n)?
steposvetlana [31]

Answer:

hjqnajiwjahhwhaiwnaoai

6 0
3 years ago
Read 2 more answers
Other questions:
  • 1. In Microsoft Word you can access the _______ command from the "Mini toolbar." A. underline B. insert citation C. save as D. w
    9·2 answers
  • Ingrid started speaking about her slide presentation. When she clicked to th
    11·2 answers
  • Someone please help me? Thanks!
    10·2 answers
  • Name 8 different types of packages that are widely used​
    8·1 answer
  • Create a Quadrilateral, Oval, Triangle, Polygon class that are all extended from an abstract Shape class (given below). Then ext
    14·1 answer
  • True/False/Unknown. For the interpretation of function calls, we assign the formal parametersto the valuations of the actual arg
    11·1 answer
  • Which of these tax forms reports an employee's yearly social security tax withheld
    11·2 answers
  • 1. Pasar los siguientes ejercicios a diagrama de bloque
    11·1 answer
  • Computer applications
    9·1 answer
  • A computer follows step-wise instructions to complete any task which is known as?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!