Association rules are usually referred as the if-then statements which help in order to show probability of association and relationships in between data items that are embedded within large data sets in several kinds of databases. Association rule mining also tends to have a several number of applications and thus is widely used in order to uncover sales relation in transactional data.
When searching for articles using library databases, the following tips should increase the relevance of your results. Quotation marks around two or more keywords - phrase searching - ensures that the results will include the exact phrase.
Answer:
import java.util.Scanner;
public class CharTestt { public static void main(String[] args) { System.out.println("Please enter a character "); Scanner input = new Scanner(System.in); char letterStart = input.next().charAt(0); char thenextChar = (char)(letterStart+1); System.out.print(letterStart); System.out.println(thenextChar);
}
}
Explanation:
Import Scanner Class
Prompt user to enter a character
Read and save user's input in a variable char letterStart = input.next().charAt(0);
Knowing that the next character using ASCII is +1, create a new character variable and add 1
print the character entered and the new character all on same line without spaces