Question: helpppp meeeeeeeeeee. I need help with this code: Prompt user to enter a positive whole number and read in the number n. (6 pts) .
helpppp meeeeeeeeeee. I need help with this code:

Prompt user to enter a positive whole number and read in the number n. (6 pts) . If user enters an odd number, print an upside down isoscles triangle that has 2n+1 columns and n rows, it prints - on the n+1 column and o on the rest of the triangle. utput for odd input only (5 pts), 2D shape output (5 pts), n+1 rows ( 6 pts), 2n+1 columns ( 6 pts), correct triangle shape (12 pts), correct characters at required positions ( 6 pts) ine nXn upside down triangle before - and a symmetric upside down triangle after -. x1 nter a positive number: 5 000000000 00000000 000000 00-00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
