Answer:
............................................
Explanation:
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));
Answer:
<u>query,</u> <u>data mining </u>
Explanation:
A query can be explained as another term for question.
If one needs additional information from some other person, he might have ask to him. Queries are used for the retrieval of the information.
In other words, one tries to find what have been prepared by others.
Data mining can be explained as the process that allows to sort through a large set of data for the identification of patterns.
In this process of data mining, one tries to find out the new patterns that may not be known at all.