Computer Science, asked by boraayush77, 8 months ago

Write a program to print alternate characters in a string. Input a string of your own
choice.

Answers

Answered by anjali1813
4

Answer:

Sopl("enter a string=") ;

s=sc.nextLine() ;

s=s+' ' ;

l=s.length();

for(x=0;x<l;x++)

{

p=s[x];

Sopl(p) ;

}

Answered by kaushikdivyansh822
0

Explanation:

Teri maaa ko mera naman ya kya hmm answer h bhencho

Similar questions