Given an int variable n that has already been declared


Given an int  variable  n that has already been declared and initialized to a positive value , and another int  variable  j that hasalready been declared , use a for loop to print a single line consisting of n asterisks. Thus if n contains 5, five asterisks will be printed. Use no variables other than n and j.

Solution Preview :

Prepared by a verified Expert
Business Economics: Given an int variable n that has already been declared
Reference No:- TGS02892454

Now Priced at $10 (50% Discount)

Recommended (92%)

Rated (4.4/5)