wedMorningQuizAnswer

wedMorningQuizAnswer - rows = input'Enter number of rows...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
%{ This program asks the user for a number of rows, and prints the pattern: ..... *** ** * depending on the number of rows wanted by user
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: %} rows = input('Enter number of rows: '); for k = 1:rows for t = rows:-1:k fprintf('*') end fprintf('\n') end...
View Full Document

This note was uploaded on 03/30/2011 for the course ENGINEERIN 127 taught by Professor Finch during the Spring '08 term at Rutgers.

Ask a homework question - tutors are online