Thursday, August 28, 2014

program that prints a diamond as demonstrated next


Code

#include<stdio.h>
int main ()
{
printf (" .\n");
printf (" . .\n");
printf (" . .\n");
printf (" . .\n");
printf (" .\n");

getch ();
return 0;
}

Output


C Languge diamond

No comments :

Post a Comment

Note: Only a member of this blog may post a comment.

Copyright 2017. All Rights Reserved. Privacy Policy / Terms And Conditions / Sitemap / Contact