BCA SEM1 PROGRAMMING.......

1. Write a program in c to display your name seven times by using do while loop.
ANS:-#include <stdio.h>
          #include <conio.h>
             void main()
            {
            int i=1, name:
             clrscr():
           do
           {
             printf("\n AISHA"):
              i++:
            } 
              while(i<8):
               getch():
                          }

Comments

Post a Comment