Class 10 ICSE JAVA || String Program in Java to print all the characters at prime indexes.

Опубликовано: 12 Март 2026
на канале: Alex Sir
40
1

Write a program in java to input a word , convert it into upper case and print all the characters that are present at prime indexes.

Example :
Input : program
Output : OGA

Click on the link for complete solution :
https://alexsir.com/program-to-input-...