This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| int main() { | |
| // Declarar variables | |
| int notas[3][5]; // Matriz para almacenar las notas de cada estudiante | |
| int i, j; // se declaran las variables para almacenar numeros | |
| float promedio; // Promedio de las notas | |
| // se usa el bucle for para alamcenar en cada variable hasta el maximo que es 3 o 5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| REGISTRADURIA | |
| /* | |
| * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license | |
| * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Main.java to edit this template | |
| */ | |
| package registraduria; | |
| /** | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <string.h> | |
| // productos con descuento | |
| const char* descuento[] = { | |
| "8949899430", | |
| "7653512593", | |
| "9383867373", | |
| "8839290420" | |
| }; | |
| // productos con rifa |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| main() | |
| ( | |
| int sumando1=12; | |
| int sumando2=23; | |
| int resultado=sumando1 + sumando2; | |
| printf("this is my integher | |
| |:%d \n",sumandototal); | |