Hi I made this game just for the fun of it:
#include <stdafx.h>
#include <iostream>
#include <cstdlib>
#include <time.h>
using namespace std;
Type: Posts; User: UPNPAD
Hi I made this game just for the fun of it:
#include <stdafx.h>
#include <iostream>
#include <cstdlib>
#include <time.h>
using namespace std;
Robatino, yeh I wanted to try and make a program that would find those for me, as I haven't learnt how to do it yet (at school). And in one of the different attempts the computer printed -10, and as...
Thanks, I tried it once and it didn't work:
int main()
{
for (int n = 0; n < 1000; n = n + 14){
if ((n + 17)%(n - 7) == 0){
cout<<n <<endl;
}
}
Hey, I new to C++ and I was trying to make a program that solved a maths problem for me (I wanted to find out how many times the anwer would be a positive integer, given that n is a positive...