ISC · Computer Science · Nested Loops
Practice question
3 marksOriginal Khojo Papers practice question written to the ISC Computer Science syllabus — not from a past board or specimen paper.
Write a Java program segment to print the following pattern for n = 4: a right-angled triangle of stars with 1 star in the first row and 4 in the last.

