As a result of increased tensions in the Middle East, oil production is down by 1.21 mil- lion barrels per day—a 5 percent reduction in the world’s supply of crude oil. Explain the likely impact of
Answers
Answered by
0
Answer:
helpul
Explanation:
import java.util.Scanner;
class AlphabetPatternOne{
public static void main (String args[]){
int i,j;
Scanner scan=new Scanner(System.in);
System.out.print("Enter the number of rows: ");
int rows=scan.nextInt();
for(i=1; i<=rows; i++){
for(j=1; j<=i; j++){
System.out.print((char)(i+64));
}
System.out.println();
}
}
}
Similar questions