Problem Solving, DS and Algorithmic Thinking
Wednesday, November 19, 2014
Pattern 2
Write a program to print the pattern
A
A B
A B C
A B C D
include<stdio.h>
int
main
()
{
printf
(
"A\nA B\nA B C\nA B C D"
);
return
0
;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment