#include<stdio.h>
#include<conio.h>
main()
{
clrscr();
printf("\n");
printf(" /\\ \n");
printf(" //\\\\ \n");
printf(" ///\\\\\\ \n");
printf("////\\\\\\\\ \n");
printf(" ||| \n");
printf(" ||| \n");
getch();
}
Why are those extra \ required in each line?
hi Sakshi, that’s an escape sequence, you can watch this video to understand this video and
https://www.youtube.com/watch?v=6acilzugvBk
Also the above program is explained in this Video
https://www.youtube.com/watch?v=47tvV44e4go
Don’t forget to share the channel with your friends.
why two arrow needed on right side for single arrow in left side
Hi Ankit, watch this video to understand this better.
https://www.youtube.com/watch?v=6acilzugvBk