Computer Science, asked by kritika60, 1 year ago

Hii plz help me write a program to store 10 names in single dimensional array display only those which begin with letter a and end with letter a

Answers

Answered by Jades23
2
Thats the answer bt make sure that ur qsn is perfectly correct with the single character 'a' or 'A' bcoz java is case sensitive.
However my answer is only fr 'a' according to ur qsn...
Attachments:

kritika60: Thanxx
kritika60: Yes u r right I forgot to write capital
Jades23: If u want capital too u can use two more lines inside if statement for checking both with 'A' separated by logical or(||)
Similar questions