Star Printing : pattern 3 (Right Side Triangle) in C Programming

By | 2017-04-07T22:11:52+00:00 October 15th, 2016|Categories: C/C++, Programming|Tags: , , , , , , , , , , , , , |

You have to print "spaces" like the pattern 2  and print the "stars" like pattern 1. For printing "spaces" you have to use another loop before printing the "stars" and after the first loop. My code is not that good. if you have any [...]

Star Printing : pattern 2 (Left Side Opposite Triangle) in C Programming

By | 2017-04-07T22:11:52+00:00 October 15th, 2016|Categories: C/C++, Programming|Tags: , , , , , , , , , , , , , |

Just made some little changes in the first code. It was easy. If you have complete idea of for loop then you can do it yourself. Feel free to share your code. Here is the Code :   int x,y; for (x = 1; x [...]

Star Printing : pattern 1 (Left Side Triangle) in C Programming

By | 2017-04-07T22:11:52+00:00 October 15th, 2016|Categories: C/C++, Programming|Tags: , , , , , , , , , , , , |

I was just trying to solve this problem in my own way. If you have any better code then please feel free to share it in the comment section. Here is the Code : int main() { int i, j; for (i = 1; [...]