Showing posts with label 135 11111 33333 55555 odd number triangle. Show all posts
Showing posts with label 135 11111 33333 55555 odd number triangle. Show all posts

9.01.2013

Odd-Number Triangle

Q. Write a C program to print the following odd-number triangle C program as:

135
11111
33333
55555

Ans.

/*c program for odd number triangle*/
#include<stdio.h>
int main()
{