El documento presenta código en tres lenguajes de programación (Visual Basic, C y Java) para invertir cadenas de caracteres e imprimir el código ASCII de cada carácter. En Visual Basic, se utiliza un bucle While para ingresar palabras, invertirlas y mostrar el código ASCII caracter por caracter. En C, se usan ciclos for anidados para invertir cadenas ingresadas y mostrar el código de cada carácter. Finalmente, en Java se emplean arrays bidimensionales, bucles for y métodos de String para realizar las mismas funciones en ese lenguaje.
Práctica: realizar una calculadora sencilla (sumadora) que realice las operaciones básicas; Suma, Resta, Multiplicación y División. Las operaciones se deben realizar de forma Secuencial.
Práctica: realizar una calculadora sencilla (sumadora) que realice las operaciones básicas; Suma, Resta, Multiplicación y División. Las operaciones se deben realizar de forma Secuencial.
Epic Research is performing a basic role as a leading financial advisory firm by providing good recommendations for,KLSE Stocks, Comex and Forex and all other segments with the help of experts and it maintains high accuracy.
Our People Vision of being a “More than Just a Work Place” for more than 7000 employees in the Group is build upon three pillars. Inspiring people, caring for people and leadership.
Epic Research is performing a basic role as a leading financial advisory firm by providing good recommendations for,KLSE Stocks, Comex and Forex and all other segments with the help of experts and it maintains high accuracy.
Our People Vision of being a “More than Just a Work Place” for more than 7000 employees in the Group is build upon three pillars. Inspiring people, caring for people and leadership.
My car is a Honda Insight. Sometimes it can actually be hard to see if it is in a parking lot full of pickup trucks and SUVs. My Insight could probably actually fit into the bed of some of the bigger pickup trucks on the road these days. Based on recent sales information, it appears that more and more American car buyers are favoring these types of big and expensive vehicles.
ROMPECABEZAS DE ECUACIONES DE PRIMER GRADO OLIMPIADA DE PARÍS 2024. Por JAVIE...JAVIER SOLIS NOYOLA
El Mtro. JAVIER SOLIS NOYOLA crea y desarrolla el “ROMPECABEZAS DE ECUACIONES DE 1ER. GRADO OLIMPIADA DE PARÍS 2024”. Esta actividad de aprendizaje propone retos de cálculo algebraico mediante ecuaciones de 1er. grado, y viso-espacialidad, lo cual dará la oportunidad de formar un rompecabezas. La intención didáctica de esta actividad de aprendizaje es, promover los pensamientos lógicos (convergente) y creativo (divergente o lateral), mediante modelos mentales de: atención, memoria, imaginación, percepción (Geométrica y conceptual), perspicacia, inferencia, viso-espacialidad. Esta actividad de aprendizaje es de enfoques lúdico y transversal, ya que integra diversas áreas del conocimiento, entre ellas: matemático, artístico, lenguaje, historia, y las neurociencias.
UNIVERSIDAD CENTRAL DEL ECUADOR CAMILA ESCOBAR LOPEZ GETCHARS
1. Código Visual Basic
Sub lilili()
'' lilili Macro
'Dim texto(100) As String
Dim dimension As Integer
Dim i As Integer
Dim invertir As String
Dim j As Integer
Dim dest(100) As String
Dim ch As String
Dim asci As Integer
Worksheets("hoja1").Cells(1, 5).Value = ("****************BIENVENIDOS************")
Worksheets("hoja1").Cells(2, 3).Value = (" El programa presentado a continuacion nos mostrara una matriz inversa y el codigo ascii ")
Worksheets("hoja1").Cells(3, 4).Value = ("PALABRA INGRESADA")
Worksheets("hoja1").Cells(3, 5).Value = ("PALABRA INVERSA")
Worksheets("hoja1").Cells(3, 6).Value = ("CODIGO ASCII")
dimension = InputBox("Ingrese con cuantas palabras desea trabajar: ")
i = 0
While (i < dimension)
texto(i) = InputBox("Ingrese Texto :" & i)
Worksheets("hoja1").Cells(5 + i, 4).Value = texto(i)
i = i + 1
Wend
i = 0
While (i < dimension)
invertir = StrReverse(texto(i))
Worksheets("hoja1").Cells(5 + i, 5).Value = invertir
i = i + 1
Wend
j = 0
While (j < dimension)
2. For i = 1 To Len(texto(j))
ch = Mid(texto(j), i, 1)
asci = Asc(ch)
dest(j) = dest(j) + CStr(asci)
Next i
Worksheets("hoja1").Cells(5 + j, 6).Value = asci
j = j + 1
Wend
ActiveCell(1, 1).Interior.ColorIndex = 7
ActiveCell(1, 2).Interior.ColorIndex = 3
End Sub
------------------------------------------------------------------------------------------------------------
"LENGUAJE C"
// ConsoleApplication1.cpp: define el punto de entrada de la aplicación de consola.
//
#include "stdafx.h"
#include "stdlib.h"
#include "string.h"
int _tmain(int argc, _TCHAR* argv[])
{
int dimension, i, j, k;
char cadena2[10][50];
char cadenaorig[10][50];
int numpalb;
printf("sr.usuario por favor ingrese el número de palabras con las que desea trabajar n");
scanf_s("%d", &numpalb);
fflush(stdin);
for (i = 0; i < numpalb; i++)
{
printf("sr.usuario por favor ingrese palabra n ");
3. gets_s(cadenaorig[i]);
printf("n");
}
for (i = 0; i<numpalb; i++)
{
int k = 0;
for (j = 0; j < cadenaorig[i][j]; j++)
{
printf("%d "" == >"" %c n t", cadenaorig[i][j], cadenaorig[i][j]);
}
cadena2[i][k] = '0';
printf("n");
}
for (i = 0; i<numpalb; i++)
{
int k = 0;
for (j = strlen(cadenaorig[i]) - 1; j >= 0; j--)
{
cadena2[i][k] = cadenaorig[i][j];
k++;
}
cadena2[i][k] = '0';
printf("n");
}
for (i = 0; i<numpalb; i++)
{
puts(cadena2[i]);
printf("n");
4. }
for (i = 0; i<numpalb; i++)
{
int k = 0;
for (j = strlen(cadenaorig[i]) - 1; j >= 0; j--)
{
cadena2[i][k] = cadenaorig[i][j];
k++;
printf("%d,"" == >"" %c n t", cadenaorig[i][j], cadenaorig[i][j]);
printf("n");
}
cadena2[i][k] = '0';
}
getchar();
getchar();
return 0;
}
"JAVA"
package nuevoo1;
import java.util.*;
public class Nuevoo1 {
public static void main(String[] args) {
//Habilito entrada de datos
Scanner lectura=new Scanner(System.in);
//System.out.println("Ingrese las palabras");
//String cadena=lectura.nextLine();
char cadena2[][]=new char[10][10];
5. char cadenaorig[][]=new char[10][10];
String cadenainvertida="";
int contador=0, j, numpalb;
char ascii;
int dim[]=new int [10];
System.out.println("sr. usuario por favor ingrese numero de palabras con las que desea trabajar");
numpalb=lectura.nextInt();
String s = new String();
System.out.println(" por favor ingrese palabras");
for(j=0;j<=numpalb ;j++)
{
s= lectura.nextLine();
dim[j]=s.length();
cadenaorig[j]=s.toCharArray();
}
//aqui logré imprimir solo los números a los q pertenecen los caracteres pero no me salen los caracteres
System.out.println(cadenaorig[j]);
for(int i=0;i<s.length();i++){
ascii=s.charAt(i);
System.out.println(ascii + s.charAt(i) );
}
int i;
// y pues aquí, pues aqui no aparece esta parte cuando se imprime
for (i=0;i<=numpalb;i++)
{
int k=0;
for (j=dim[i]-1;j>=0;j--)
{
cadena2[i][k]= cadenaorig[i][j];
k++;
}
}
System.out.println(cadena2[j]);
for( i=0;i<s.length();i++)