package com.fca.uconnect.global;

public class Test {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		String givenStr = "programming is not typing its thinking";
		String[] strArr = givenStr.split(" ");
		boolean reverseWord=false;
		StringBuilder resultString = new StringBuilder();
		for(int i=strArr.length-1;i>=0;i--){
			System.out.println(new StringBuilder("hi").reverse().toString());
		}
		new StringBuilder("hi").reverse().toString();
//		for(int i =0;i<strArr.length;i++){
//			resultString.append(" ");
//			if(i%3==2)
//				reverseWord=true;
//		  if(reverseWord){
//			for(int j=strArr[i].length()-1;j>=0;j--){
//				String toBeReversed = strArr[i];
//				resultString.append(toBeReversed.charAt(j)); 
//			}
//			reverseWord=false;
//		  }else
//			  resultString.append(strArr[i]);
//		}
//		System.out.println(resultString.toString());
	}

}
