Tuesday 17 September 2013

20th tutorial for right angle triangle patterns



This is the last tutorial for the right angle triangle patterns. After practising this many programs you may find this program easy to solve, this pattern have different kind of logic to print numbers.

19th tutorial for right angle triangle patterns



This is very simple pattern which prints number in order. A very simple and easy to understand program.


Monday 16 September 2013

18th tutorial for right angle triangle patterns



This pattern is done with another interesting logic. A very simple logic is there behind this program.

16th tutorial for right angle triangle patterns



This is another pattern for printing 1 0 1 0 in another way that we have already seen in earlier tutorial. Here also logic remains same just conditions for loop changes.

17th tutorial for right angle triangle patterns



This is a simple pattern which teach how to adjust numbers such that if two digit number such as 10 can b exactly below the one digit number. This can be done by adjusting decimal value.

15th tutorial for right angle triangle patterns



In last tutorial we have created a logic to print numbers in pattern. In this tutorial also we have different logic to print numbers in particular manner in right angle triangle only.

14th tutorial for right angle triangle patterns



Till now we have seen almost one kind of patterns in which we have printed numbers and alphabets in same manner, now we are going to print numbers only but using some kind of computations.

13th tutorial for right angle triangle patterns



This pattern is totally reverse from the one we have seen in the last tutorial. Here pattern starts with maximum number that a user has entered (here 5) till 11111.

12th tutorial for right angle triangle patterns



This pattern is same as that we have seen in the tutorial 6 in which pattern no a9 is explained. But the difference is that there we have printed alphabets whereas here we have to print numbers.

11th tutorial for right angle triangle patterns



This is another pattern for right angle triangle using numbers. This pattern is totally reverse of the last tutorial’s pattern.

10th tutorial for right angle triangle patterns



This is another pattern for right angle triangle using numbers. In this pattern numbers are arranged in reverse order i.e. as 54321.

9th tutorial for right angle triangle patterns



This is another pattern for right angle triangle using numbers. This pattern is reverse from the pattern in last tutorial.


8th tutorial for right angle triangle patterns



As in earlier tutorials we have seen all right angle triangle patterns for alphabets. Now we can make same and more other patterns using that same logic of looping for numbers.

7th tutorial for right angle triangle patterns



This is reverse pattern from the pattern which is explained in last tutorial. In last tutorial patterns starts from ‘A’ and ends with ‘EEEE’. But here the pattern is reversed starting from ‘E’ to ‘AAAA’.


Friday 13 September 2013

6th tutorial for right angle triangle patterns



As in first tutorial we have seen that all right angle triangle patterns can be form using same for loop structure, to change patterns we just have to change printf statements in program.