Copy to Clipboard console.log("Print the following series using for loop:- 1,8,27,64,125,216,......n"); let n ; function cubeseriesloop(n){ for(let i=0; i =0){ console.log(cubei); }else{ break; } } } console.log(cubeseriesloop(9));
For the linear layout (linear1)
Direcly add code into add source block
The code is
int[] colorsCRNGH = { Color.parseColor("#390000"), Color.parseColor("#390000") }; android.graphics.drawable. GradientDrawable CRNGH = new android.graphics.drawable. GradientDrawable(android. graphics.drawable. GradientDrawable.Orientation. TOP_BOTTOM, colorsCRNGH);
CRNGH.setCornerRadii(new float[]{(int)106,(int)106,( int)92,(int)92,(int)100,(int) 100,(int)93,(int)93});
CRNGH.setStroke((int) 0, Color.parseColor("#000000"));
linear1.setElevation((float) 5);
linear1.setBackground(CRNGH);
Comments
Post a Comment