0
Please give program
i get input string --> "my India is big and great" i want to output as -->"great and big is india my"
2 Answers
+ 7
I won't give you the finished program, however I can tell you how to achieve this
1) split you string on the space character this will convert it to an array
2)create a for-loop which starts at array.length and decreases until it reaches 0
3)print each word in that for loop
+ 1
thanks