Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Estructura repetitiva while (mientras)
- #include <stdio.h>
- #include <stdlib.h>
- /* int main()
- {
- int numero = 1;
- while (numero <= 100)
- {
- printf("- %d \n", numero);
- numero = numero +1;
- }
- //printf("Hello world!\n");
- return 0;
- } */
- /* int main ()
- {
- int x, n;
- x = 1;
- printf("Ingrese un numero: ");
- scanf("%d", &n);
- while (x<=n)
- {
- printf("- %d\n", x);
- x = x+1;
- }
- return 0;
- } */
- int main () {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement