Created
March 20, 2015 19:36
-
-
Save mmikhan/a41fac333c2bfecee635 to your computer and use it in GitHub Desktop.
Write a program using one print statement to print the pattern of asterisks as shown below
This file contains 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* *\n* * *\n* * * *\n"); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment