A spreadsheet may a explained as a tabular arrangement or arrays of cells which allows users to enter both numeric and string data for storage, manipulation and analysis. The spreadsheet program has both the vertical and horizontal cell arrangement with the vertical areas being reffered to as THE COLUMN which are labeled using alphabets arranged from A - AZ, AA - AZ, and so on to make up a total of 16384 columns on the Microsoft Excel spreadsheet program. Cells are located using a combination of column and row address. With row representing the horizontal area of the spreadsheet and labeled with digits. Therefore cells are usually refereed to as A1, (column A row 1) and so on.
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