Opening the reading…
Opening the reading…
DSA FUNDAMENTALS › CONTROL FLOW
This is a scratch drill — your code runs, nothing is graded or recorded. No test cases, no expected output, no verdict.
TASK
Repair the program so it prints the exact n = 4 butterfly. Fix both the lower-loop starting value and the middle gap loop, then produce all seven rows without hardcoded row output.
OUTPUT
Sample* * ** ** *** *** ******** *** *** ** ** * *
What a finished answer prints, from the lesson. Nothing has run yet — press Run and this is replaced by your program’s own output.