i am trying to write a simple program in which you enter a number e.g.4 and the printout would be ****. or if u entered 10, then the output would be ten of * i.e. **********.
i only started programming last week so not got too fa so far. any help appreciated! cheers!!
heres what ive done so far
#include <stdio.h>
main()
{
int x;
char = *
printf("enter your number\n");
scanf("%d", &x);