こんな感じです。>>285
#include <iostream>
#include <time.h>
#include <math.h>
#include <stdlib.h>

void main()
{
//変数宣言
int ans, myans, score;
bool bContinue = true;
char res;

//ゲームのループ
while(bContinue){
cout << "***** 数当てゲーム *****" << end1
<< "こちらが考えている0-99の範囲の数を当ててください" << endl;

score = 0;
srand((unsigned)time(NULL));
ans = rand() % 100;