0% found this document useful (0 votes)
3 views

programación

The document contains a C++ program intended to print the numbers from 1 to 50 in a single line. However, there are several syntax errors, such as incorrect capitalization of keywords and improper quotation marks. The program should be corrected for successful compilation and execution.

Uploaded by

m07804893
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

programación

The document contains a C++ program intended to print the numbers from 1 to 50 in a single line. However, there are several syntax errors, such as incorrect capitalization of keywords and improper quotation marks. The program should be corrected for successful compilation and execution.

Uploaded by

m07804893
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

//Genere un programa de 50 números con

//la impresión en una linea

#include <iostream>

Using namespace std;

Int main () {

Cout << “1”;

Cout << “ “;

Cout << “2”;

Cout << “ “;

Cout << “3”;

Cout << “ “;

Cout << “4”;

Cout << “ “;

Cout << “5”;

Cout << “ “;

Cout << “6”;

Cout << “ “;

Cout << “7”;

Cout << “ “;

Cout << “8”;

Cout << “ “;

Cout << “9”;

Cout << “ “;
Cout << “10”;

Cout << “ “;

Cout << “11”;

Cout << “ “;

Cout << “12”;

Cout << “ “;

Cout << “13”;

Cout << “ “;

Cout << “14”;

Cout << “ “;

Cout << “15”;

Cout << “ “;

Cout << “16”;

Cout << “ “;

Cout << “17”;

Cout << “ “;

Cout << “18”;

Cout << “ “;

Cout << “19”;

Cout << “ “;

Cout << “20”;

Cout << “ “;

Cout << “21”;

Cout << “ “;

Cout << “22”;

Cout << “ “;
Cout << “23”;

Cout << “ “;

Cout << “24”;

Cout << “ “;

Cout << “25”;

Cout << “ “;

Cout << “26”;

Cout << “ “;

Cout << “27”;

Cout << “ “;

Cout << “28”;

Cout << “ “;

Cout << “29”;

Cout << “ “;

Cout << “30”;

Cout << “ “;

Cout << “31”;

Cout << “ “;

Cout << “32”;

Cout << “ “;

Cout << “33”;

Cout << “ “;

Cout << “34”;

Cout << “ “;

Cout << “35”;

Cout << “ “;
Cout << “36”;

Cout << “ “;

Cout << “37”;

Cout << “ “;

Cout << “38”;

Cout << “ “;

Cout << “39”;

Cout << “ “;

Cout << “40”;

Cout << “ “;

Cout << “41”;

Cout << “ “;

Cout << “42”;

Cout << “ “;

Cout << “43”;

Cout << “ “;

Cout << “44”;

Cout << “ “;

Cout << “45”;

Cout << “ “;

Cout << “46”;

Cout << “ “;

Cout << “47”;

Cout << “ “;

Cout << “48”;

Cout << “ “;
Cout << “49”;

Cout << “ “;

Cout << “50”<<endl;

return 0;

You might also like