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
eduard
3 years ago
10

JAVA

Computers and Technology
1 answer:
Morgarella [4.7K]3 years ago
8 0

import java.util.Scanner;

public class JavaApplication42 {

   public static void main(String[] args) {

       Scanner scan = new Scanner(System.in);

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

       String word = scan.nextLine();

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

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

           

       }

   }

   

}

I hope this helps!

You might be interested in
How to unblock a website on a school computer? ASAP who's ever works will get Brainliest and will get a follow.
Angelina_Jolie [31]

Answer:

You can't unblock them without admin access to the router. The only way to visit such sites is to find a VPN that is not also blocked by the school.

But you should know, what you are trying to do can get you in trouble if the school's IT department is competent to any extent.

4 0
3 years ago
Read 2 more answers
An executive at an online video company wants to look over usage data from the previous month. The company has data from
aleksklad [387]

Answer:

We first need to find out the number of variables, and if it is 3 or less, we can use excel for visualization or else we need to make use of the Microsoft Power BI or Tableau. And here, we have one variable as subscribers in various age groups, and the second variable is the number of hours spent in watching videos. And hence, we have only two variables. And thus, we can make use of the bar chart for visualization, and that is quite enough for visualizing this case. However, remember visualization is done for analyzing, and analyzing is made easy through visualization.

Explanation:

Please check the answer.

7 0
3 years ago
Read 2 more answers
What is the function of print format
Ivahew [28]
Print formatted refers to a control parameter used by a class of functions in the string-processing libraries of various programming languages.
6 0
3 years ago
Read 2 more answers
When analyzing data sets, such as data for human heights or for human weights, a common step is to adjust the data. This can be
Savatey [412]

Answer:

The program to this question can be defined as follows:

Program:

n = int(input("Enter the number: ")) #input value from user end  

print("Entered value: ",n) #print value

lt = [] #defining an empty list

for i in range(n): # loop to input values  

   lt.append(int(input())) #add values in the list

minimum_value = min(lt) # finding minimum value

print("Smallest value: ",minimum_value) #print value

print("Normalising data: ") #print message

for x in lt: #defining loop normalising value

   print(x-minimum_value) #print normalised values

Output:

Enter the number: 5

Entered value:  5

90

60

30

80

70

Smallest value:  30

Normalising data:  

60

30

0

50

40

Explanation:

In the given code a variable "n" is defined, that input value from the user end, in the next step, an empty list is defined, an two for loop is declared, which calculates the given value.

  • In the first for loop, the append method is used, that input values in the given list, and at the last use the min function, that prints the smallest value in the list, and stores its value in the "minimum_value".
  • In the second for loop, the "minimum_value" variable value is subtracted from the list value and print its values.  
3 0
4 years ago
Is pycharm neccessary in python
Bess [88]

mcvaefn<AMsdnmklmgkdmflavm

The answer is No

4 0
3 years ago
Read 2 more answers
Other questions:
  • Which spereadsheet type will determine<br> how well a bussiness has done over the past year
    11·1 answer
  • Which is more, 6 yards or 15 feet?​
    11·2 answers
  • By default, power search will
    14·1 answer
  • The relational database is the primary method for organizing and maintaining data today in information systems. It organizes dat
    9·1 answer
  • David has created a lot of styles and now his Quick Style Gallery contains styles he no longer uses.
    10·1 answer
  • Computer hardware without software is usless and compyrersoftware without hardware is meaningless discuss
    6·1 answer
  • How many registers are there in the memory unit?
    8·1 answer
  • I’m wondering how to get images to show on my computer because at the moment images won’t show and I’ve cleared my cache and eve
    14·1 answer
  • A pointer can be used as a function argument, giving the function access to the original argument.
    8·1 answer
  • 1. Import it into Eclipse. Open the file in Eclipse 2. Edit the file to add comments to identify the instance variables, constru
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!