Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

pattern in java

Tanzil answered on July 12, 2022 Popularity 10/10 Helpfulness 2/10

Contents


More Related Answers

  • java regex get arithmetic operators
  • Pyramid star pattern in java
  • pyramid star pattern in java/ pyramid pattern in java/ star pattern in java
  • star pattern in java
  • Java Expressions
  • Pyramid pattern program in java
  • java regex
  • print * pattern in java
  • java facade pattern
  • Reverse Pyramid pattern program in Java
  • java regex
  • java decorator pattern
  • regex java
  • java regex
  • java regex
  • pyramid pattern java
  • Java Regular Expressions
  • regex java
  • Pyramid pattern program in Java
  • Template Design Pattern In java
  • regular expression java
  • java composite pattern
  • Java design patterns
  • make pattern for V in jaca
  • java regex of eauations
  • Java design patterns
  • Java design patterns

  • pattern in java

    0

    import java.util.*;

    public class Solution {

    public static void main(String[] args) {

    //Your code goes here

    Scanner Sc=new Scanner(System.in);

    int n=Sc.nextInt();

    int i=1;

    while(i<=n)

    {

    int j=1;

    char m='A';

    while(j<=i)

    {

    System.out.print((char)(m+n-i));

    m++;

    j++;

    }

    System.out.println();

    i++;

    }

    }

    Popularity 10/10 Helpfulness 2/10 Language java
    Source: codedost.com
    Tags: java
    Link to this answer
    Share Copy Link
    Contributed on Mar 06 2023
    Tanzil
    0 Answers  Avg Quality 2/10

    Closely Related Answers



    0
    Popularity 10/10 Helpfulness 2/10 Language java
    Tags: java
    Link to this answer
    Share Copy Link
    Contributed on Aug 24 2022
    Aman Ahmed
    0 Answers  Avg Quality 2/10

    0
    Popularity 10/10 Helpfulness 2/10 Language java
    Tags: java
    Link to this answer
    Share Copy Link
    Contributed on Jul 12 2022
    Travinth Dayalaeaswaran
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.