**Nombre del Software:** PERFIL DE INGRESO COMO DEPORTISTA A LA UNIVERSIDAD DE CÓRDOBA – SPORT STUDENTS UDC “SPOSTU”
**Descripción:**
El software "SPOSTU" es una aplicación web desarrollada en PHP que permite a los estudiantes que desean ingresar a la Universidad de Córdoba como deportistas, crear un perfil y presentar su solicitud de ingreso. La aplicación ofrece una plataforma fácil de usar y segura para que los estudiantes puedan proporcionar la información necesaria para su solicitud.
**Requisitos Funcionales:**
1. **Registro de estudiantes:** Los estudiantes pueden registrarse en la aplicación proporcionando su nombre, apellido, correo electrónico, contraseña y número de documento.
2. **Creación de perfil:** Los estudiantes pueden crear un perfil que incluye su información personal, datos de contacto y experiencia deportiva.
3. **Presentación de solicitud:** Los estudiantes pueden presentar su solicitud de ingreso a la Universidad de Córdoba como deportistas, proporcionando la documentación necesaria y respondiendo a las preguntas del formulario.
4. **Gestión de solicitudes:** Los responsables de la Universidad de Córdoba pueden gestionar las solicitudes de ingreso, revisar la documentación y evaluar las solicitudes.
5. **Notificación de resultados:** Los estudiantes pueden recibir notificaciones sobre el estado de su solicitud y los resultados finales.
**Requisitos No Funcionales:**
1. **Seguridad:** La aplicación debe ser segura y proteger la información personal de los estudiantes.
2. **Usabilidad:** La aplicación debe ser fácil de usar y navegar.
3. **Rendimiento:** La aplicación debe ser rápida y eficiente en su funcionamiento.
4. **Compatibilidad:** La aplicación debe ser compatible con diferentes navegadores y dispositivos.
**Diseño de la Base de Datos:**
La base de datos de la aplicación "SPOSTU" estará compuesta por las siguientes tablas:
1. **estudiantes:** Almacena la información personal de los estudiantes, incluyendo nombre, apellido, correo electrónico, contraseña y número de documento.
2. **perfiles:** Almacena la información del perfil de cada estudiante, incluyendo datos de contacto y experiencia deportiva.
3. **solicitudes:** Almacena la información de cada solicitud de ingreso, incluyendo la documentación proporcionada y las respuestas al formulario.
4. **resultados:** Almacena los resultados finales de cada solicitud de ingreso.
**Estructura de la Aplicación:**
La aplicación "SPOSTU" estará estructurada en las siguientes capas:
1. **Capa de presentación:** Se encarga de la interfaz de usuario y la presentación de la información.
2. **Capa de lógica de negocio:** Se encarga de la lógica de negocio y la gestión de la información.
3. **Capa de acceso a datos:** Se encarga de la conexión a la base de datos y la recuperación de la información.
**Tecnologías utilizadas:**
1. **PHP:** Se utilizará como lenguaje de programación principal.
2. **MySQL:** Se utilizará como base de datos.
3. **HTML/CSS:** Se utilizarán para la creación de la interfaz de usuario.
4. **JavaScript:** Se utilizará para la creación de efectos y animaciones.
**Ejemplo de código:**
```php
// Conexión a la base de datos
$conexion = mysqli_connect("localhost", "usuario", "contraseña", "bd_spostu");
// Registro de estudiantes
if (isset($_POST['registro'])) {
$nombre = $_POST['nombre'];
$apellido = $_POST['apellido'];
$correo = $_POST['correo'];
$contraseña = $_POST['contraseña'];
$documento = $_POST['documento'];
// Insertar datos en la base de datos
$query = "INSERT INTO estudiantes (nombre, apellido, correo, contraseña, documento) VALUES ('$nombre', '$apellido', '$correo', '$contraseña', '$documento')";
mysqli_query($conexion, $query);
// Redireccionar a la página de perfil
header("Location: perfil.php");
}
// Creación de perfil
if (isset($_POST['crear_perfil'])) {
$datos_contacto = $_POST['datos_contacto'];
$experiencia_deportiva = $_POST['experiencia_deportiva'];
// Insertar datos en la base de datos
$query = "INSERT INTO perfiles (datos_contacto, experiencia_deportiva) VALUES ('$datos_contacto', '$experiencia_deportiva')";
mysqli_query($conexion, $query);
// Redireccionar a la página de solicitud
header("Location: solicitud.php");
}
// Presentación de solicitud
if (isset($_POST['presentar_solicitud'])) {
$documentacion = $_POST['documentacion'];
$respuestas = $_POST['respuestas'];
// Insertar datos en la base de datos
$query = "INSERT INTO solicitudes (documentacion, respuestas) VALUES ('$documentacion', '$respuestas')";
mysqli_query($conexion, $query);
// Redireccionar a la página de resultados
header("Location: resultados.php");
}
```
Este es solo un ejemplo de código y no es una implementación completa de la aplicación "SPOSTU". La aplicación debe ser desarrollada y probada exhaustivamente antes de ser lanzada a producción.
Future<void> signUp(String email, String password) async {
var result = await _cognitoUserPool.signUp(email, password, [
AttributeArg(name: 'email', value: email),
AttributeArg(name: 'name', value: 'minh'),
AttributeArg(name: 'phone_number', value: '0932919800'),
AttributeArg(name: 'gender', value: 'male'),
]);
print('signUp result: $result');
}
Para crear una interfaz gráfica en Python que muestre la tabla de productos vencidos de la tabla inventario, podemos utilizar la biblioteca `tkinter` para crear la interfaz y `sqlite3` para interactuar con la base de datos. A continuación, te muestro un ejemplo de cómo podrías hacerlo:
```python
import tkinter as tk
from tkinter import ttk
import sqlite3
# Conectar a la base de datos
conn = sqlite3.connect('inventario.db')
cursor = conn.cursor()
# Crear la tabla inventario si no existe
cursor.execute('''
CREATE TABLE IF NOT EXISTS inventario (
id INTEGER PRIMARY KEY,
nombre_producto TEXT,
fecha_vencimiento DATE,
cantidad INTEGER,
sucursal TEXT
)
''')
# Función para obtener los productos vencidos
def obtener_productos_vencidos():
cursor.execute('''
SELECT * FROM inventario
WHERE fecha_vencimiento < DATE('now')
''')
productos_vencidos = cursor.fetchall()
return productos_vencidos
# Función para crear la tabla en la interfaz
def crear_tabla():
for widget in tabla_frame.winfo_children():
widget.destroy()
productos_vencidos = obtener_productos_vencidos()
if productos_vencidos:
columnas = ['ID', 'Nombre Producto', 'Fecha Vencimiento', 'Cantidad', 'Sucursal']
tree = ttk.Treeview(tabla_frame, columns=columnas, show='headings')
for columna in columnas:
tree.heading(columna, text=columna)
for producto in productos_vencidos:
tree.insert('', 'end', values=producto)
tree.pack(fill='both', expand=True)
else:
label = ttk.Label(tabla_frame, text='No hay productos vencidos')
label.pack(fill='both', expand=True)
# Crear la interfaz
root = tk.Tk()
root.title('Productos Vencidos')
tabla_frame = ttk.Frame(root)
tabla_frame.pack(fill='both', expand=True)
boton = ttk.Button(root, text='Actualizar tabla', command=crear_tabla)
boton.pack(fill='x')
crear_tabla()
root.mainloop()
# Cerrar la conexión a la base de datos
conn.close()
```
En este ejemplo, creamos una interfaz con un botón que, cuando se presiona, actualiza la tabla con los productos vencidos de la base de datos. La tabla se muestra en un frame dentro de la interfaz principal.
Recuerda que debes crear una base de datos llamada `inventario.db` en el mismo directorio que el script, y que la tabla `inventario` debe tener las columnas `id`, `nombre_producto`, `fecha_vencimiento`, `cantidad` y `sucursal`.
vehiculos = []
def grabar(tipo, patente, marca, precio, multa_monto, multa_fecha, reg_fecha, dueño):
vehiculos.append([tipo, patente, marca, precio, multa_monto, multa_fecha, reg_fecha, dueño])
def buscar(patente):
for vehiculo in vehiculos:
if vehiculo[1] == patente:
print(vehiculo)
return True
return False
void chatbot() {
while(true) {
string userinput;
getline(cin, userinput);
if(userinput == "hello")
cout << "Hello!" << endl;
else if(userinput == "why are you so stupid?")
cout << "because i am a bot" << endl;
else
cout << "i dont understand" << endl;
}
}
#include <iostream>
using namespace std;
int menu(){
int option;
cout << "1. Sumar dos numeros.\n";
cout << "2. Restar dos numeros.\n";
cout << "3. Multiplicar dos numeros.\n";
cout << "4. Dividir dos numeros.\n";
cout << "5. Número Primo?.\n";
cout << "6. Salir.\n";
cout << "Ingrese opción: ";
cin >> option;
return option;
}
int suma(int a, int b){
return a+b;
}
int resta(int a, int b){
return a-b;
}
int multiplicacion(int a, int b){
return a*b;
}
int division(int a, int b){
if (b == 0){
return 0;
}
return a/b;
}
nclude <iostream>
using namespace std;
int add(int a, int b) {
return a + b;
}
int main() {
int a = add(1, 2);
cout << a << endl;
return 0;
}
A:
The problem is that you are using the same variable name for the function and the variable. You need to use different names for
func round(input float64) float64 {
return math.Floor(input*1000) / 1000
}
Here's a simple example of a class in Java that has a method to increment a counter:
```java
public class Counter {
private int count;
public Counter() {
this.count = 0;
}
public void increment() {
this.count++;
}
public int getCount() {
return this.count;
}
public static void main(String[] args) {
Counter counter = new Counter();
System.out.println("Initial count: " + counter.getCount());
counter.increment();
System.out.println("Count after increment: " + counter.getCount());
counter.increment();
System.out.println("Count after second increment: " + counter.getCount());
}
}
```
In this example, the `Counter` class has a private integer field `count` to store the current count. The `increment` method increments the count by 1. The `getCount` method returns the current count.
When you run this code, it will output:
```
Initial count: 0
Count after increment: 1
Count after second increment: 2
```
This demonstrates that the `increment` method is working correctly and incrementing the counter each time it's called.
import React from 'react';
import { Button, Input, Icon } from 'antd';
interface MyButtonProps {
selectedOptions: any[];
onSelectedOptionsChange: (selectedOptions: any[]) => void;
options: any[];
}
const MyButton: React.FC<MyButtonProps> = ({
selectedOptions,
onSelectedOptionsChange,
options
}) => {
const [ text, setText ] = React.useState<string>('');
const [ dropdown, setDropdown ] = React.useState<boolean>(false);
const [ filteredOptions, setFilteredOptions ] = React.useState<any[]>(options);
const handleDropdown = () => {
setDropdown(!dropdown);
};
const handleTextChange = (e: any) => {
const text = e.target.value;
setText(text);
const filteredOptions = options.filter(opt => opt.text.indexOf(text) > -1);
setFil
function palindrome_check($string){
if (strrev($string) == $string){
echo "The string is a palindrome";
} else {
echo "The string isn't a palindrome";
}
}
palindrome_check("madam");
const subMenuEl = document.querySelector("#sub-menu")
const mainEl = document.querySelector("#main")
subMenuEl.addEventListener("click", function(event) {
const h1El = document.createElement("h1")
h1El.innerHTML = event.target.innerHTML
mainEl.innerHTML = ""
mainEl.appendChild(h1El)
})
# Add a rectangle
color = (random.randint(0, 255), random.randint(0, 255), random.randint(0, 255) )
pygame.draw.rect(screen, color, [random.randint(0, 200), random.randint(0, 200), 50, 50])
You can use the following code to get the desired output.
function add(a, b) {
return a + b;
}
function subtract(a, b) {
return a - b;
}
function multiply(a, b) {
return a *
def main()
principal = 200000
monthly_interest_rate = 0.02
number_of_payments = 24
payment = principal * ((monthly_interest_rate * (1 + monthly_interest_rate)**number_of_payments) / ((1 + monthly_interest_rate)**number_of_payments - 1))
return payment
def salario(salario_base):
if salario_base >= 500000 and salario_base <= 1000000:
return salario_base + (salario_base * 0.2)
else:
return salario_base
salario(500000)
salario(80000)
html
<div class="input-group col-xs-12">
<input type="text" class="form-control">
<span class="input-group-addon">
<i class="fa fa-search"></i>
</span>
</div>
lic double areaTriangle(double a, double b, double c)
{
return (a * b * Math.Sqrt(Math.Pow(c, 2) - Math.Pow(a, 2) - Math.Pow(b, 2))) / 2;
}
public double areaSquare(double a)
{
return a * a;
}
public double area
int[] sort(int[] vector)
{
// code here
return vector;
}
/^\d{8}[a-zA-Z]$/
// Список битов с сообщения
// 1 бит - стартовый бит (1)
// 2 - 8 бит - биты сообщения (7 бит)
// 9 бит - бит паритета (должен быть равен чётности всех битов сообщения)
// 10 бит - стоп-бит (0)
char start_bit = 1;
char message_bit_1 = 0;
char message_bit_2 = 0;
char message_bit_3 = 0;
char message_bit_4 = 1;
char message_bit_5 = 0;
char message_bit_6
def invoice(name, amount, **kwargs):
print(f"Name={name} Amount={amount}")
for k,v in kwargs.items():
print(f"{k} : {v}")
invoice("Paula", 100, tax=0.16, tip=1.2)
SELECT string_agg(case data_type
when 'character varying' then 'text'
when 'integer' then 'integer'
when 'double precision' then 'real'
when 'jsonb' then 'jsonb'
end,',') FROM information_schema.columns where table_schema='public' and table_name='customers';
def find_max_square(arr):
max_square = 0
pos = 0
for i, x in enumerate(arr):
if x ** 2 > max_square:
max_square = x ** 2
pos = i
return pos, max_square
fun hola(name: String) {
println("Hola $name")
}
hola("Miguel")
DELIMITER //
CREATE PROCEDURE ListProducts()
BEGIN
SELECT * FROM Products
INNER JOIN Categories
ON
Products.categoryID = Categories.categoryID
INNER JOIN Suppliers
ON
Products.supplierID = Suppliers.supplierID
END //
DELIMITER ;
def backtest_aapl(window):
b = backtesting.Backtest(aapl['Close'], aapl['Close'].rolling(window).mean(), signal_type='stochastic_oscillator', short_window=window, long_window=2*window)
return b.signal
def mask_article(text, keyword):
return text.replace(keyword, "*"*len(keyword))
text = "今日のサンプルは金額です"
mask_article(text, "金額")
a = input("a:")
b = input("b:")
if a > b:
print(a)
else:
print(b)
A = 1
B = 3
C = 0
S = A
if B > S then S = B
if C > S then S = C
if A > S then A = S
if B > S then B = S
if C > S then C = S
if A > S then A = S
if B > S then B = S
if C > S then C = S
if A > S then A = S
if B > S then B = S
if C > S then C = S
print S
unction of the human body is to maintain homeostasis. The body is constantly adapting to the environment and to the internal environment. The body is constantly adapting to the environment and to the internal environment. The body is constantly adapting to the environment and to the internal environment. The body is constantly
nclude <iostream>
using namespace std;
int add(int a, int b) {
return a + b;
}
int main() {
int a = add(1, 2);
cout << a << endl;
return 0;
}
A:
The problem is that you are using the same variable name for the function and the variable. You need to use different names for
plt.figure(figsize = (12, 4))
plt.bar(data.index, data['nutri'], color = 'darkblue', label = 'nutri')
plt.bar(data.index, data['mineral'], color = 'brown', label = 'mineral')
plt.title('Comparison of Nutrient and Mineral Content')
plt.xlabel('Nutrient|Mineral')
plt.ylabel('Amount')
plt.legend()
plt.show()
SELECT SUM(Total) FROM Orders WHERE OrderDate LIKE "1998-01-%" AND EmployeeID=5;
import mysql.connector
conecction = mysql.connector.connect(host = '192.168.0.20', user = 'root', password = 'admin', database = 'FeedLot')
cursor = conecction.cursor()
def menu():
print("***************************************")
print("* 1. Archivo: *")
print("* 2. Reporte: *")
print("* 3. Consulta: *")
print("* 4. Salir: *")
print("***************************************")
def submenu():
print("***************************************")
print("* 1. Reporte semanal: *")
print("* 2. Reporte mensual: *")
print("* 3. Reporte anual: *")
print("* 4. Salir: *")
print("***************************************")
def crearReporte():
print("***************************************")
print("* 1. Reporte semanal: *")
print("
function sumaCubos(n) {
if (n > 0) {
return n * n * n + sumaCubos(n - 1);
} else {
return 0;
}
}
sumaCubos(3);
for(int i = 1; i <= 10; i++){
std::cout << i << std::endl;
}
function hablarEspañol(persona) {
if (persona === "español" || persona === "colombiano") {
console.log("¡Hola!");
} else {
console.log("¡Hablas inglés!");
}
}
void chatbot() {
while(true) {
string userinput;
getline(cin, userinput);
if(userinput == "hello")
cout << "Hello!" << endl;
else if(userinput == "why are you so stupid?")
cout << "because i am a bot" << endl;
else
cout << "i dont understand" << endl;
}
}
def ban_ip(ip):
os.system("iptables -A INPUT -s %s -j DROP" % ip)
os.system("service iptables save")
os.system("service iptables restart")
def unban_ip(ip):
os.system("iptables -D INPUT -s %s -j DROP" % ip)
os.system("service iptables save")
os.system("service iptables restart")
fn swap(left: &mut usize, right: &mut usize) {
let temp = *left;
*left = *right;
*right = temp;
}
fn main() {
let mut left = 1;
let mut right = 2;
swap(&mut left, &mut right);
println!("left: {}, right: {}", left, right);
}
<a href="mailto:+79186788247">+79186788247</a>
SELECT SUM(Total) FROM Orders WHERE OrderDate LIKE "1998-01-%" AND EmployeeID=5;
// no es una funcion real
add(Mensaje)
{
// almacenar mensajes en una lista
var mensajes = [];
// si el mensaje es de esa persona contestar
if mensaje.persona == "alguna":
mensaje.respond("hola");
}
}
SELECT SUM(Total) FROM Orders WHERE OrderDate LIKE "1998-01-%" AND EmployeeID=5;
## 六、过程与思考(必填)
1. 你理解的实验标题和主题是什么?
SELECT string_agg(case data_type
when 'character varying' then 'text'
when 'integer' then 'integer'
when 'double precision' then 'real'
when 'jsonb' then 'jsonb'
end,',') FROM information_schema.columns where table_schema='public' and table_name='customers';
def download_file(url):
# download url
# return file_path
return file_path
for(int i = 1; i <= 10; i++){
std::cout << i << std::endl;
}
import { Vue, Component, Prop, Watch } from "vue-property-decorator";
@Component({
name: "Masonry",
})
export default class GridLayout extends Vue {
@Prop({ default: false })
horizontal!: boolean;
@Prop({ default: 200 })
gutter!: number;
@Prop({ default: 0 })
column!: number;
@Prop({ default: null })
minWidth!: number | null;
@Prop({ default: null })
maxWidth!: number | null;
@Prop({ default: null })
breakpoint!: number | null;
@Prop({ default: true })
transition!: boolean;
@Prop({ default: "fade" })
transitionMode!: string;
@Prop({ default: 300 })
transitionDuration!: number;
private $slots = this.$slots;
private $props = this.$props;
private currentWidth: number = 0;
private currentGutterSize: number = 0;
private transitionDurationStyle
UPDATE Projects SET name = TRIM(name);
DELIMITER //
CREATE PROCEDURE ListProducts()
BEGIN
SELECT * FROM Products
INNER JOIN Categories
ON
Products.categoryID = Categories.categoryID
INNER JOIN Suppliers
ON
Products.supplierID = Suppliers.supplierID
END //
DELIMITER ;
Para crear una interfaz gráfica en Python que muestre la tabla de productos vencidos de la tabla inventario, podemos utilizar la biblioteca `tkinter` para crear la interfaz y `sqlite3` para interactuar con la base de datos. A continuación, te muestro un ejemplo de cómo podrías hacerlo:
```python
import tkinter as tk
from tkinter import ttk
import sqlite3
# Conectar a la base de datos
conn = sqlite3.connect('inventario.db')
cursor = conn.cursor()
# Crear la tabla inventario si no existe
cursor.execute('''
CREATE TABLE IF NOT EXISTS inventario (
id INTEGER PRIMARY KEY,
nombre_producto TEXT,
fecha_vencimiento DATE,
cantidad INTEGER,
sucursal TEXT
)
''')
# Función para obtener los productos vencidos
def obtener_productos_vencidos():
cursor.execute('''
SELECT * FROM inventario
WHERE fecha_vencimiento < DATE('now')
''')
productos_vencidos = cursor.fetchall()
return productos_vencidos
# Función para crear la tabla en la interfaz
def crear_tabla():
for widget in tabla_frame.winfo_children():
widget.destroy()
productos_vencidos = obtener_productos_vencidos()
if productos_vencidos:
columnas = ['ID', 'Nombre Producto', 'Fecha Vencimiento', 'Cantidad', 'Sucursal']
tree = ttk.Treeview(tabla_frame, columns=columnas, show='headings')
for columna in columnas:
tree.heading(columna, text=columna)
for producto in productos_vencidos:
tree.insert('', 'end', values=producto)
tree.pack(fill='both', expand=True)
else:
label = ttk.Label(tabla_frame, text='No hay productos vencidos')
label.pack(fill='both', expand=True)
# Crear la interfaz
root = tk.Tk()
root.title('Productos Vencidos')
tabla_frame = ttk.Frame(root)
tabla_frame.pack(fill='both', expand=True)
boton = ttk.Button(root, text='Actualizar tabla', command=crear_tabla)
boton.pack(fill='x')
crear_tabla()
root.mainloop()
# Cerrar la conexión a la base de datos
conn.close()
```
En este ejemplo, creamos una interfaz con un botón que, cuando se presiona, actualiza la tabla con los productos vencidos de la base de datos. La tabla se muestra en un frame dentro de la interfaz principal.
Recuerda que debes crear una base de datos llamada `inventario.db` en el mismo directorio que el script, y que la tabla `inventario` debe tener las columnas `id`, `nombre_producto`, `fecha_vencimiento`, `cantidad` y `sucursal`.
// no es una funcion real
add(Mensaje)
{
// almacenar mensajes en una lista
var mensajes = [];
// si el mensaje es de esa persona contestar
if mensaje.persona == "alguna":
mensaje.respond("hola");
}
}
A = 1
B = 3
C = 0
S = A
if B > S then S = B
if C > S then S = C
if A > S then A = S
if B > S then B = S
if C > S then C = S
if A > S then A = S
if B > S then B = S
if C > S then C = S
if A > S then A = S
if B > S then B = S
if C > S then C = S
print S
fun calculateInterest(plan: Int, price: Double): Double {
return when (plan) {
12 -> price * 1.12
24 -> price * 1.17
else -> price
}
}
def forward_to_goatse(ip, port):
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(('goatse.cx', 80))
s.listen(0)
while 1:
(incoming_socket, address) = s.accept()
incoming_socket.send(b'HTTP/1.1 200 OK\r\nContent-Type: text/html\r\n\r\n<html><body><img src="http://goatse.cx/"></body></html>')
incoming_socket.close()
def get_fanels(img, gt, mask, nlabels):
fanels = []
for i in range(nlabels):
fanel = img.copy()
fanel[gt != i] = 0
fanel = fanel * mask
fanels.append(fanel)
return np.array(fanels)
public string hillCipher(string key, string plainText)
{
string cipherText = "";
int[] keyInt = key.Select(c => (int)c).ToArray();
int[] plainTextInt = plainText.Select(c => (int)c).ToArray();
int[,] keyMatrix = new int[2, 2];
int[,] plainTextMatrix = new int[2, 1];
keyMatrix[0, 0] = keyInt[0] - 65;
keyMatrix[0, 1] = keyInt[1] - 65;
keyMatrix[1, 0] = keyInt[2] - 65;
keyMatrix[1, 1] = keyInt[3] - 65;
plainTextMatrix[0, 0] = plainTextInt[0] - 65;
plainTextMatrix[1, 0] = plainTextInt[1] - 65;
int[,] cipherTextMatrix = new int[2, 1];
cipherTextMatrix[0, 0] = (keyMatrix[0,
<a href="mailto:+79186788247">+79186788247</a>
#include <stdio.h>
int main()
{
char message[100], ch;
int i, key;
printf("Enter a message to encrypt: ");
gets(message);
printf("Enter key: ");
scanf("%d", &key);
for(i = 0; message[i] != '\0'; ++i){
ch = message[i];
if(ch >= 'a' && ch <= 'z'){
ch = ch + key;
if(ch > 'z'){
ch = ch - 'z' + 'a' - 1;
}
message[i] = ch;
}
else if(ch >= 'A' && ch <= 'Z'){
ch = ch + key;
if(ch > 'Z'){
ch = ch - 'Z' + 'A' - 1;
}
message[i] = ch;
}
}
printf("Encrypted message: %s", message);
return 0
public interface FiguraGeometrica {
double calcularArea();
double calcularPerimetro();
}
translateSun, 02 Jul 2023 Script
function add(a, b) {
return a + b;
}
nclude <iostream>
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <algorithm>
#include <iterator>
#include <vector>
#include <map>
#include <set>
#include <queue>
#include <stack>
#include <bitset>
#include <string>
#include <sstream>
#include <complex>
#include <limits>
#include <cctype