+ 2
How do we make a guess number coding for c++?
3 ответов
+ 3
#include <iostream>
#include <cstdlib>
using namespace std;
int main() {
int a=rand();
}
This will produce random no.
Now u can input by cin and use == to check whether they are equal
+ 2
thank you for ur help!!
+ 1
U need to use random function..