A PHP Error was encountered

Severity: Warning

Message: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?

Filename: libraries/Grocery_crud.php

Line Number: 2719

Backtrace:

File: /home/mxminego/mxmicodigo.com/application/controllers/Cpp.php
Line: 8
Function: library

File: /home/mxminego/mxmicodigo.com/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?

Filename: libraries/Grocery_crud.php

Line Number: 2725

Backtrace:

File: /home/mxminego/mxmicodigo.com/application/controllers/Cpp.php
Line: 8
Function: library

File: /home/mxminego/mxmicodigo.com/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?

Filename: libraries/Grocery_crud.php

Line Number: 2762

Backtrace:

File: /home/mxminego/mxmicodigo.com/application/controllers/Cpp.php
Line: 8
Function: library

File: /home/mxminego/mxmicodigo.com/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?

Filename: libraries/Grocery_crud.php

Line Number: 2768

Backtrace:

File: /home/mxminego/mxmicodigo.com/application/controllers/Cpp.php
Line: 8
Function: library

File: /home/mxminego/mxmicodigo.com/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?

Filename: libraries/Grocery_crud.php

Line Number: 2820

Backtrace:

File: /home/mxminego/mxmicodigo.com/application/controllers/Cpp.php
Line: 8
Function: library

File: /home/mxminego/mxmicodigo.com/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?

Filename: libraries/Grocery_crud.php

Line Number: 2826

Backtrace:

File: /home/mxminego/mxmicodigo.com/application/controllers/Cpp.php
Line: 8
Function: library

File: /home/mxminego/mxmicodigo.com/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/mxminego/mxmicodigo.com/system/core/Exceptions.php:272)

Filename: views/superior_v.php

Line Number: 5

Backtrace:

File: /home/mxminego/mxmicodigo.com/application/views/superior_v.php
Line: 5
Function: header

File: /home/mxminego/mxmicodigo.com/application/controllers/Cpp.php
Line: 128
Function: view

File: /home/mxminego/mxmicodigo.com/index.php
Line: 299
Function: require_once

.
Estadisticas ¿Cpp? como instalar Uso Comandos Omijal Extras

Rango

Descripción

: Realiza un programa que imprima en pantalla el rango de números que le indique el usuario.

Problema

Se neceista un prrograma que nos imprima valores dentro de un rango por lo que es necesario poner un valor inicia y un final

Consideraciones

Recuerde que deben ser 2 valores donde el primero debe de ser menor o igual que el segundo valor, de lo contrario no se visualizara el resultado 

Iniciará
Debe de terminar
Ultimo fuente
No siempre debe de empezar en 1 el ciclo
2020-03-01 20:02:37 pm Leonardo
#include <cstdlib>
#include <iostream>

using namespace std;

int main(int argc, char *argv[])
{
    int a,b,c;
    cout<<" En que Numero inicio :";
    cin>>a;
    cout<<" En que Numero termino :";
    cin>>b;
    for (c=a;c<=b;c++)
      cout<<c<<endl;
    system("PAUSE");
    return EXIT_SUCCESS;
}

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: views/cpp_verpro_v.php

Line Number: 120

Backtrace:

File: /home/mxminego/mxmicodigo.com/application/views/cpp_verpro_v.php
Line: 120
Function: _error_handler

File: /home/mxminego/mxmicodigo.com/application/controllers/Cpp.php
Line: 141
Function: view

File: /home/mxminego/mxmicodigo.com/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: views/cpp_verpro_v.php

Line Number: 120

Backtrace:

File: /home/mxminego/mxmicodigo.com/application/views/cpp_verpro_v.php
Line: 120
Function: _error_handler

File: /home/mxminego/mxmicodigo.com/application/controllers/Cpp.php
Line: 141
Function: view

File: /home/mxminego/mxmicodigo.com/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: views/cpp_verpro_v.php

Line Number: 134

Backtrace:

File: /home/mxminego/mxmicodigo.com/application/views/cpp_verpro_v.php
Line: 134
Function: _error_handler

File: /home/mxminego/mxmicodigo.com/application/controllers/Cpp.php
Line: 141
Function: view

File: /home/mxminego/mxmicodigo.com/index.php
Line: 299
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: views/cpp_verpro_v.php

Line Number: 134

Backtrace:

File: /home/mxminego/mxmicodigo.com/application/views/cpp_verpro_v.php
Line: 134
Function: _error_handler

File: /home/mxminego/mxmicodigo.com/application/controllers/Cpp.php
Line: 141
Function: view

File: /home/mxminego/mxmicodigo.com/index.php
Line: 299
Function: require_once

Si desea donar:

Problemas

Tiempo...(1373)
01/03/2020
Estadisticas...(1087)
01/03/2020
Promedio...(735)
01/03/2020
De dos en dos...(559)
01/03/2020
Decimal...(544)
01/03/2020
Reversa...(514)
01/03/2020
Rango...(572)
01/02/2020
Donde parar...(578)
01/02/2020
Muchos Holas....(606)
01/02/2020
Numeros...(600)
01/02/2020

Fuentes

Divicion y Modulo...(0)
05/05/2022
Primera versión...(36)
01/03/2020
Primera versión...(15)
01/03/2020
Primera versión...(7)
01/03/2020
Primera versión...(4)
01/03/2020
Primera versión...(4)
01/03/2020
Primera versión...(2)
01/03/2020
Primera versión...(4)
01/03/2020
Primera versión...(7)
01/02/2020
Primera versión...(11)
01/02/2020

.: Publicidad :.