Answer:
this solution was written in c programming language
Step-by-step explanation:
#include <stdio.h>
int main(void)
{
int i, j, number;
/* ask user for numbers */
printf("Enter 5 numbers between 1 and 30: ");
/* repeat 5 times */
for (i = 0; i < 5; i++)
{
/* read in number */
scanf("%d", &number);
/* print that number of stars */
for (j = 0; j < number; j++)
{
printf("*");
}
/* bring cursor to next line */
printf("\\");
}
return 0;
}