-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjavascriptOld.txt
More file actions
92 lines (61 loc) · 1.4 KB
/
Copy pathjavascriptOld.txt
File metadata and controls
92 lines (61 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
function SumaAlCuadrado int (int a, int b)
{
j= a + b;
return j + j;
if(a==b) print(a); else print(b);
/* La función finaliza y devuelve el valor entero de la expresión */
}
//2
let int n1;
let boolean l1;
let string cad;
let int n2;
let boolean l2;
input (n1);
l1 = l2;
if (l1|| l2) cad = "hello";
n2 -= n1 - 378;
print( 33
-
n1
+
n2);
function ff boolean(boolean ss)
{
varglobal = 8;
if (l1) l2 = ff (ss);
/*return ss;*/
}
if (ff(l2))
print (varglobal);
let string hola;
hola="que tal";
let int requete;
function a int(int r,int b,boolean c){
b=a(3,4,true);
let int m;
}
function b int(int r,int k,boolean d){
let int r;
r=a(3+r,4,true);
return 0;
r=a(3+r,4,true);
}
//
let string texto;
function alert (string msg)
{
print (msg);
}
function pideTexto ()
{
print ("Introduce un texto");
input (texto);
}
pideTexto();
let string textoAux;textoAux = texto;
alert
(
textoAux
)
;