New game
Download
Get Academic Plan
Share game
Fill in the Blanks
Fill in the Blanks

Completar programa 3.1

Integrate it into your platform

You can integrate the game into an LMS compatible with LTI 1.1 or LTI 1.3 such as Canvas, Moodle, or Blackboard. This way, the scores will be automatically saved into the platform’s gradebook.
Download
You have exceeded the maximum number of games you can integrate into Google Classroom with your current Plan.

To integrate as many games as you want in Google Classroom, you need an Academic Plan or a Commercial Plan.

You have exceeded the maximum number of games you can integrate into Microsoft Teams with your current Plan.

To integrate as many games as you want in Microsoft Teams, you need an Academic Plan or a Commercial Plan.

Downloading games is an exclusive feature for users with an Academic Plan or a Commercial Plan.

Get your Academic Plan or your Commercial Plan now and start integrating your games into your LMS, website or blog.

If you wish, you can download a demo game here and test its integration:

Completar programa 3.1

Fill in the Blanks

Played 13

About this activity

Para practicar.

Created by

Spain

Download the paper version to play

Make your own free game from our game creator
Compete against your friends to see who gets the best score in this game

Top Games

%
Anonymous
Anonymous
%
%
%
You have exceeded the maximum number of games you can print with your current Plan.

To print as many games as you want, you need an Academic Plan or a Commercial Plan.

Print your game
Completar programa 3.1
 

Fill in the Blanks

Completar programa 3.1Online version

Para practicar.

by neuck
1

generarBloqueCaracteres filas longitud filas for arg filas clas 1 textoBase generarBloqueCaracteres textoBase espiga espiga longitud java FlechaArriba

package AutoEval3 ;

/ * *
* .
* Programa que muestra una flecha de caracteres apuntada hacia arriba .
* Utiliza dos métodos para generar la punta y la espiga .
* ajp - 2015 . 11 . 15
* /
public class FlechaArriba {

public static void main ( String [ ] ) {

final int NUMERO_LINEAS = 19 ;

String flecha = generarPuntaArriba ( NUMERO_LINEAS / 2 )
+ generarEspiga ( NUMERO_LINEAS / 2 ) ;
System . out . println ( flecha ) ;
}
/ * *
* Genera con caracteres , una punta de flecha hacia arriba .
* Utiliza un método auxiliar .
* @param filas , número de filas a generar .
* @return punta , de caracteres .
* /
static String generarPuntaArriba ( int filas ) {

String punta = " " ;
/ / Punta triangular .
for ( int i = 0 ; i < filas - ; i + + ) {
punta + = generarBloqueCaracteres ( filas - i , " " )
+ " / " + ( 2 * i , " " ) + " \ \ " + " \ n " ;
}
/ / Base del triángulo .
punta + = generarBloqueCaracteres ( 1 , " " )
+ " / " + generarBloqueCaracteres ( 2 * - 2 , " _ " ) + " \ \ " + " \ n " ;

return punta ;
}
/ * *
* Genera con caracteres , una espiga rectangular .
* Utiliza un método auxiliar .
* @param filas , número de filas a generar .
* @return espiga , de caracteres .
* /
static String generarEspiga ( int filas ) {

String = " " ;

/ / genera
( int i = 0 ; i < ; i + + ) {
espiga + = ( - 1 , " " )
+ " | " + generarBloqueCaracteres ( 2 , " " ) + " | " + " \ n " ;
}
/ / base del rectángulo
espiga + = generarBloqueCaracteres ( filas - 1 , " " )
+ " | " + generarBloqueCaracteres ( 2 , " _ " ) + " | " + " \ n " ;

return espiga ;
}
/ * *
* Genera un bloque de tamaño variable de caracteres iguales .
* @param longitud , el tamaño del bloque .
* @param textoBase .
* @return resultado , el texto obtenido .
* /
static String generarBloqueCaracteres ( int , String ) {
String resultado = " " ;
for ( int i = 0 ; i < ; i + + ) {
resultado + = ;
}
return resultado ;
}

} / /

Are you sure you want to leave the page?

If you leave the page, you will lose your game progress.