Sha256: e2649ea5d74de05c55bd0b9343521652f974be3c57ff401221599dfde728ed5a
Contents?: true
Size: 443 Bytes
Versions: 10
Compression:
Stored size: 443 Bytes
Contents
int a = -12; int b = 7; int suma = a + b; int resta = a - b; int producto = a * b; real division = a / b; int resto = a % b; int expo = a ** b; write("Siendo dos enteros a = -12 y b = 7"); write(" suma de a + b = ", suma); write(" resta de a - b = ", resta); write(" producto de a * b = ", producto); write(" división de a / b = ", division); write(" resto de a mod b = ", resto); write("exponenciación a ^ b = ", expo);
Version data entries
10 entries across 7 versions & 1 rubygems