This file contains 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 <iostream> | |
using namespace std; | |
int main () | |
{ int sum,min,max,n; | |
sum=0; | |
cout << "We´re going to sum up numbers between numbers!!" << endl; | |
cout << "Now pick the first integer that you want to initialized: " << endl; | |
cin >> min; | |
n=min; |
This file contains 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 <iostream> | |
#include <ctime> | |
#include <cstdlib> | |
using namespace std; | |
int main () | |
{ | |
int Random, Num ,Guess; | |
Guess = 0; | |
srand(time(0)) ; |
This file contains 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 <iostream> | |
using namespace std; | |
int main() | |
{ int Celsius,Fahrenheit; | |
cout << "Enter Fahrenheit temperature: "; | |
cin >> Fahrenheit; | |
Celsius = (Fahrenheit-32)*5/9; | |
cout << "Celsius = " << Celsius << endl; |
This file contains 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 <iostream> | |
int main() | |
{int x,y,suma,resta,product,division,residuo; | |
std::cout<<"\n ingrese numero x:"; | |
std::cin>>x; |
This file contains 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 <iostream> | |
int main() { | |
std::cout << "hello world"; | |
return 0; | |
} |
NewerOlder