Write a program in c++ that reads in a number n and prints out n rows each containing n star characters, '*'.
Thus if n is 3, then your program should print
***
Answers
Answered by
0
Answer:
#include <stdio.h>
int main (void)
{
int n ;
printf ( " Enter value for n : " ) ;
scanf ( " %d " ,&a ) ;
printf (" * ");
printf ("/n");
}
Similar questions
Math,
5 months ago
World Languages,
5 months ago
Science,
5 months ago
Social Sciences,
11 months ago
English,
11 months ago
English,
1 year ago