#include<stdio.h>
      int main(void)
      {
          printf("width?\n");
          int n;
          do
          {
              scanf("%d", &n);
          }
          while (n < 1);
          for (int i = 0; i < n; i++)
          {
              printf("*");
          }
          printf("\n");
      }
      
      C language logo

      print a line of symbol

      0

      0

      avatar
      omtajne11
      pattern
      print

      enter the number of symbols to be printed

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.