Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  test
Language: C/C++
Code:
#include <iostream>
using namespace std;

int main()
{
    cout<<"Hello World";
    int MAX_I = 0;
    int valor_buscar = 0;
    cout<<"Ingrese valor maximo\n";
    cin>>MAX_I;
    cout<<"Ingrese valor a buscar\n";
    cin>>valor_buscar;
    for(int i=1;i<MAX_I;i++){
        for(int j=1;j<MAX_I;j++){
            if(i*j==valor_buscar )
                cout<<i<<" "<<j<<endl;
        }
    }
    return 0;
Comments: