Recent programs

PROJECT 1

an anonymous user · February 22, 2020 · Assembly
section .data
    msg db "Hello world!", 0ah

section .text
    global _start

_start:
    mov rax, 1
    mov rdi, 1
    mov rsi, msg
    mov rdx, 13

Assembly Language HelloWorld

an anonymous user · February 22, 2020 · Assembly
section .data
    msg db "Hello world!", 0xa
    len equ $ - msg

section .text
    global _start

_start:
    mov edx,len
    mov ecx,msg
    mov ebx,1

exp1

an anonymous user · February 22, 2020 · Assembly
segment .bss
    flag resb 12
section .text
    global _start

_start:
    mov rax, 1
    mov rdi, 1
    
    mov dword [flag], 1870225259
    mov ebx, 3738091242

a.asm

an anonymous user · February 22, 2020 · Assembly
section .data

	msg0 db 10,"ASSIGNMENT 3",10
	msg0_len equ $- msg0

	msg1 db 10,"1.HEX to BCD",10,"2.BCD to HEX",10,"3.EXIT",10,10
	msg1_len equ $- msg1

	invalid_msg db 10,"Invalid Option Entered",10
	invalid_msg_len equ $- invalid_msg

menu de comidas

julianapalma152 · February 22, 2020 · Java
import java.util.*;
import java.lang.*;
import java.io.*;

// The main method must be in a class named "Main".
class Main {
    public static void main(String[] args) {
         int numero ;
        System.out.println("MENU");
        System.out.println("1.perro caliente");
        System.out.println("2.hamburguesa");

Hola Karen

an anonymous user · February 22, 2020 · Perl
print('Hello world!')

comida

Cristhian_Rodriguez · February 22, 2020 · Java
import java.util.*;
import java.lang.*;
import java.io.*;

// The main method must be in a class named "Main".
class Main {
    public static void main(String[] args) {
     int num ;
        System.out.println("MENU");
        System.out.println("1.hamburguesa");
        System.out.println("2.Perro caliente");

J01

tomlin · February 22, 2020 · Java
import java.util.*;
import java.lang.*;
import java.io.*;

// 中文
class Main {
    public static void main(String[] args) {
        System.out.println("abc");
    }
}

Hola mundo js

an anonymous user · February 21, 2020 · NodeJS
<!DOCTYPE HTML>
<html lang=“esp”>
<head>
<meta charset=“utf-8”/>
<title>Hola mundo</title>
</head>
<body>
<h1>Curso JavaScript</h1>
<p>primer programa</p>
</body>
</html>
//Que gane el mejor exponencial
#include <iostream>
#include <algorithm>
using namespace std;

int main() {
    int m,r,n;
    cin>>m;
    int arreglo [100] = {}; 
    
       

Banco

an anonymous user · February 21, 2020 · Java
import java.util.*;
import java.lang.*;
import java.io.*;

// The main method must be in a class named "Main".
class Main {
    public static void main(String[] args) {
        System.out.println("Hello world!");
        
        Banco bank = new Banco(200, " Nubank");
        bank.setSaldo(500);

Banco

an anonymous user · February 21, 2020 · Java
import java.util.*;
import java.lang.*;
import java.io.*;

// The main method must be in a class named "Main".
class Main {
    public static void main(String[] args) {
        System.out.println("Hello world!");
        
        Banco bank = new Banco(200, " Cu");
        bank.setSaldo(500);

Лаба 3

Wizardino · February 21, 2020 · Fortran
program main
character*200 text
integer i,j, wb, we, k
read(*,*) text
do i=1, k
if(text(i:i)=='/') then
wb=i
do j= wb, k
if (text(j:j)=='/') then
we=j
text(wb:we)='+'

Alumnos de Universidad

an anonymous user · February 21, 2020 · C
#include <stdio.h>

int main() {
   int vCal[10]={1,2,2,2,1,2,1,1,1,2};
   int i;
   int contador = 0;
   int contador2 = 0;
   for(i=0;i<10;i++)
   {
       printf("Info %d=%d\n",i,vCal[i]);
       if(vCal[i]==1)

Alumnos de Universidad

an anonymous user · February 21, 2020 · C
#include <stdio.h>

int main() {
   int vCal[10]={1,2,2,2,1,2,1,1,1,2};
   int i;
   int contador = 0;
   int contador2 = 0;
   char32_t P = "PENDEJOS";
   for(i=0;i<10;i++)
   {
       printf("Info %d=%d\n",i,vCal[i]);

arreglo de funciones

ranelcom · February 21, 2020 · NodeJS
function suma(x,y) {
    return x+y;
}

function resta(x,y) {
    return x-y;
}

let funciones = {
    'uno': function(x,y) {return suma(x,y)},
    'dos': function(x,y) {return resta(x,y)}

arreglo de funciones

an anonymous user · February 21, 2020 · NodeJS
function suma(x,y) {
    return x+y;
}

function resta(x,y) {
    return x-y;
}

let funciones = {
    'uno': function(x,y) {return suma(x,y)},
    'dos': function(x,y) {return resta(x,y)}

Global variable

carolina_mira · February 21, 2020 · C
#include <stdio.h>

int a = 5;

void add(int b){

//using global variable a
int sum = a + b;
printf("%d\n", sum);  
}
int main() {

Prueba

an anonymous user · February 21, 2020 · R
print('hello world')

Hello world

an anonymous user · February 21, 2020 · C#
using System;

namespace MyCompiler {
    class Program {
        public static void Main(string[] args) {
            Console.WriteLine("Hello world!");
        }
    }
}