gopimn / elo329_1_2022

Curso de programación orientada a objetos
1 stars 1 forks source link

Valeska Acuña #26

Closed Lekii00 closed 2 years ago

gopimn commented 2 years ago

Hola Valeska! pudiste correr el codigo en R2?

Lekii00 commented 2 years ago
#include <iostream>
#include <locale.h>

using namespace std;

int main(){
  setlocale(LC_CTYPE, "Spanish");

  cout <<"Hola ñ"<<endl;

  int arr[34] = {65,121,117,100,101,109,101,32,97,32,112,
  97,115,97,114,32,112,111,114,32,102,97,118,111,114,32,112,114,111,102,101,32,58,99};

  for(int i = 0;i<=33;i++){
    printf("%c", arr[i]);

  }

  return 0;
}