Logo 
Search:

C Programming Articles

Submit Article
Home » Articles » C Programming » Homework HelpRSS Feeds

Program to draw rectangle and arrow using character as shown in description

Posted By: Daisy Brown     Category: C Programming     Views: 3853

Write a program that will print the following figure :

ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿__________________ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³_______________³__________________³_______________³
³_______________³__>>>---------->__³_______________³
³_______________³__________________³_______________³
³_______________³__________________³_______________³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ__________________ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ







consider space in pace of line or underscore.

Code for Program to draw rectangle and arrow using character as shown in description in C Programming

/*



Write a program that will print the following figure :

ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ ³ ³ ³
³ ³ >>>----------> ³ ³
³ ³ ³ ³
³ ³ ³ ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ

*/
#include<conio.h> #include<stdio.h> void main() { clrscr(); printf("\nÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿"); printf("\n³ ³ ³ ³ "); printf("\n³ ³ >>>----------> ³ ³"); printf("\n³ ³ ³ ³"); printf("\n³ ³ ³ ³"); printf("\nÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ "); getch(); } /*
*******
OUTPUT:
*******

ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ ³ ³ ³
³ ³ >>>----------> ³ ³
³ ³ ³ ³
³ ³ ³ ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
*/
  
Share: 



Daisy Brown
Daisy Brown author of Program to draw rectangle and arrow using character as shown in description is from London, United Kingdom.
 
View All Articles

 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!