Computer Science, asked by valddracul, 11 months ago

a
!!
aaa
!!!
aaaaa

print the following series in java ​

Answers

Answered by shyjiamruth
1

Answer:

# include<iostream>

using namespace STD

int main()

{

count<< enter the limit ;

........

pls mark as brainliest

plsss

Answered by amannishad0512p5zxh6
2

class Java

{

public static void main ( )

{

for (i=1;i<=5;i++)

{

for(j=1;j<=i;j++)

{

if(i%2==0)

System.out.print("!");

else

System.out.print("a");

}

System.out.println( );

}

}

}

Run the program on bluej or any other platform,if any doubt ask.me again,okk k titliji.❤️❤️❤️

Similar questions