← TCS questions
CodingReported in a candidate post, Jan 2026

Star pattern printing

Filed under TCS · Also reported at Gemini, TATA 1MG, ValueLabs

Write a program to print a simple right-angled triangle star pattern of a given height.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related TCS questions

Collected from public candidate posts and coding forums. Updated Nov 2026.