Write a program that prints the following diamond shape. Your printf statements

Write a program that prints the following diamond shape. Your printf statements may print either one asterisk (*) or one blank. Read an odd number in the range 1 to 19 to specify the number of rows in the diamond. Your program should then display a diamond of the appropriate size. Use nested for statements.
please enter number of rows (odd nummber): 4
please enter number of rows (odd nummber): 7
*
***
*****
*******
*****
***
*Rubric
Rubric 1.3
Rubric 1.3
CriteriaRatingsPts
This criterion is linked to a Learning OutcomeDetailed comment to explain every step of the solution
2 ptsFull Marks
0 ptsNo Marks
2 pts
This criterion is linked to a Learning OutcomeSelf explanatory variable names and good coding format (empty lines, indentation ect)
2 ptsFull Marks
0 ptsNo Marks
2 pts
This criterion is linked to a Learning OutcomeCheck use input is odd number, if not ask use to re-enter
4 ptsFull
0 ptsNo Marks
4 pts
This criterion is linked to a Learning OutcomeUse nested for statement
5 ptsFull Marks
0 ptsNo Marks
5 pts
This criterion is linked to a Learning OutcomePrint out the diamond pattern as exptected
5 ptsFull Marks
2 ptsPartial
print out some patten with empty space and stars, but not the correct patten
0 ptsNo Marks
5 pts
This criterion is linked to a Learning Outcomeprogram should include copywrite which contains the assignment number and your name
2 ptsFull Marks
0 ptsNo Marks
2 pts
Total Points: 20
PreviousNext

Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount