#WSQ06
Hola #TC1017
Aqui les dejo la publiquechio de mi ultimo trabajo en C++ usando la función ,
I hope you like it. 😛
/*
#WSQ06
Main: Pick a number
By: Jorge Cervantes
#TC1017
Referencia: http:/
———————————————————————
*/
#include
using namespace std;
int main(){
int numero, intento = 0, raam;
string ans = “si”;
srand (time(NULL)); //no permite que la funcion random escoja el mismo numero
raam = rand() % 100;
do{
intento = intento + 1;
cout > numero;
{
if(raam == numero){
ans = “x”;
}
else{
{if(numero > raam){
cout
#WSQ06 by Jorge Cervantes is licensed under a Creative Commons Attribution 4.0 International License.