My issue
Pattern Rhombus Compliment
Task
Take an integer
N
N as an input and as per
N
N print the following pattern.
N
5
N=5
-
* -
*
N
4
N=4
-
* -
*
Input Format
The first line contains a single integer
N
N, denoting the size of the pattern.
Output Format
Output the pattern according to the integer
N
N.
Sample 1:
Input
Output
1
Did you like the problem?
1 user found this helpful
My code
#include <stdio.h>
int main() {
// your code goes here
}
Learning course: Algorithmic Problem Solving
Problem Link: https://www.codechef.com/learn/course/klu-problem-solving/KLUPS00A/problems/LPYAS164