Computer Science, asked by shwetank96kumar, 1 month ago

how can you reverse a string​

Answers

Answered by patnaiksrinivasrao59
1

Answer:

Input the string from the user

Find the length of the string. The actual length of the string is one less than the number of characters in the string. Let actual length be j.

Repeat the below steps from i = 0 to the entire length of the string.

rev[i] = str[j]

Print the reversed string.

Pls mark me as BRAINLIST

Similar questions