Created
March 20, 2015 19:54
-
-
Save mmikhan/daee566fe184740330d3 to your computer and use it in GitHub Desktop.
Write a program that will print the following figure using suitable characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// main.c | |
// midterm | |
// | |
// Created by Md Mazedul Islam Khan on 3/21/15. | |
// Copyright (c) 2015 Md Mazedul Islam Khan. All rights reserved. | |
// | |
#include <stdio.h> | |
int main(int argc, const char * argv[]) { | |
printf("|---------------| |---------------|\n"); | |
printf("| | | |\n"); | |
printf("| | | |\n"); | |
printf("| | >>-----> | |\n"); | |
printf("| | | |\n"); | |
printf("| | | |\n"); | |
printf("|---------------| |---------------|\n"); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks a lot bro you made my day....