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:
D. a potential hazard
Explanation:
Abrupt changes in road surface or the shape of the road may indicate a potential hazard.
Answer:
The correct answer for the given question is an option(b) i.e java.
Explanation:
Java is an object oriented programming language that is mostly used for the creating the websites.Java is most secure and reliable programming language than the other programming language.
C is a programming language but it is not object oriented programming language thats why this option is incorrect.
Visual basic is a Programming language it is also used to create a web page but it is not commonly used to create a web page thats why this option is incorrect.
The scheme is not used to create a web page thats why this option is also incorrect.
The statement 'a data mart is the operational database for the company' is true.
We can define a data mart as a subject-oriented database that focuses on a particular area in an organization.
It is through data mart that the employees of a company can access data faster. Data mart, functioning as the operational database, helps employees as they do not have to manually add all the data again. Also, any piece of data needed by an employee can easily be accessed through the data mart of the company.
One of the advantages of using data mart is that it eradicates human-made errors which can arise if data is added manually by an employee.
To learn more about data mart, click here:
brainly.com/question/25013185
#SPJ4
Answer:
Consolidation ratio
Explanation:
Consolidation ratio within network infrastructure for Internet hosting, is the number of virtual servers that can run on each physical host machine.