print java
//print in Java
System.out.println("Welcome to Java");
print java
//print in Java
System.out.println("Welcome to Java");
make pattern for V in jaca
void drowV(int hight){
int rowLen = (hight-1)*2;
for(int i=0; i<hight; i++){
int start = i;
int end = rowLen-i;
for(int j=0;j<=rowLen; j++){
if(j==end){
System.out.println("*");
break;
}
else if(j==start){
System.out.print("*");
}
else{
System.out.print(" ");
}
}
}
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us