Skip to content

Commit fa7eef5

Browse files
authored
Merge pull request mouredev#6920 from CyberSutro/main
#00-java
2 parents f3b197c + 3d1e2c7 commit fa7eef5

File tree

1 file changed

+35
-0
lines changed
  • Roadmap/00 - SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO/java

1 file changed

+35
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
//https://www.java.com/es/
2+
3+
/**
4+
*
5+
* @author AdanSutro
6+
*/
7+
package algoritmos.retosprogramacion;
8+
9+
public class RetosProgramacion {
10+
11+
public static void main(String[] args) {
12+
13+
//datos primitivos
14+
int num=1;
15+
double num2=5;
16+
boolean opcion3=true;
17+
String Cybersutro;
18+
float num3= 6.79f;
19+
char adan;
20+
21+
//variable
22+
int cualquiernumero=100;
23+
24+
//variable constante EULER
25+
final double e = 2.71828;
26+
27+
System.out.println("Hola Euler " +e);
28+
29+
30+
31+
32+
33+
}
34+
35+
}

0 commit comments

Comments
 (0)