<prompt> Chapisha namba 1 hadi 10 kwa mpangilio unaoongezeka.Kuzalisha sahihi code kutumia nested Loops katika Java kufikia lengo zifuatazo  <response>: Here is a correct Java code that uses nested loops to print the numbers 1 to 10 in ascending order:javaforint i 1; i 10; i forint j 1; j i; j ifj i System.out.printlni; This code uses an outer loop that iterates 10 times, from 1 to 10. For each iteration of the outer loop, the inner loop is executed. The inner loop iterates i times. If the inner loop reaches its last iteration, the code prints the current value of i, which represents the current number in the sequence. Since the outer loop iterates from 1 to 10, this results in the numbers 1 to 10 being printed in ascending order. 