anonymous
2011-08-30 12:18:57 UTC
//Program Finding a position of a letter
class FindPosition
{
public static void main(String args[])
{
System.out.println("Type any sentence");
String sentence = Keyboard.readString();
System.out.println("Type a character to know it's position in the sentence.");
int sentencelimit = sentence.length();
}
}