Computer Science, asked by 6374365176, 1 day ago

The program must accept a string S and an integer X as the input. The program must toggle the characters in the position of multiples of X in S and then print the modified string as the output.

Bondary Condition(s):

1 <= Length of S <= 1000 1 <= x <= Length of S

Example Input/Output 1:

sPectAculAr 3

Input:

Output: sPEctaculAr

can anyone help me to find out this solution?

Answers

Answered by riya735987
0

Answer:

1=1000 ,5000

Explanation:

have a nice day

Answered by shraddhanoneriya
0

Answer:

Input : gfg

Output : GFG

Input : aBc12#

Output : AbC12#

Input : tu@kmiNi

Output : TU@KMInI

Similar questions