Convert the following 'while loop' into its equivalent 'for loop' without altering the output of the program. Java Knowledge Based Info. Netbeans Notepad Trick int x = 100, a = 30; while (x >= 10) { System.out.print("New Amount =" +(x+a)); a++; x -= a; } Share this Share on FacebookTweet on TwitterPlus on Google+ Related PostsExample of HTMLJava program to add two numbersHorizontal ListsHTML Form - Radio Button InputNested HTML ListsHTML Form - Text Input