Print the series as described below
print a 1 A in the first line,
print b 2 B in the second line
print c 2 C in the third line,
print n such lines.
Input Format
For each test, n will be given as an integer input.
Constraints
1<=n<=26
Output Format
Print as given in the problem statement.
Sample Input 0
4
Sample Output 0
a 1 A
b 2 B
c 3 C
d 4 D
Sample Input 1
12
Sample Output 1
a 1 A
b 2 B
c 3 C
d 4 D
e 5 E
f 6 F
g 7 G
h 8 H
i 9 I
j 10 J
k 11 K
l 12 Limport java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;
public class Solution {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
int n=sc.nextInt();
for(int i=0; i


0 Comments