Clear the output

Hey! I need some help, i want to get rid clean the output after certain thing happens, but not sure how i have searched around the internet with Google but haven't found anything. Here's the code.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
  void world_Builder()
{
	char spawn[50];
	char answerOne[50];
	
	cout << "This is the world builder here you can \n"
		 << "design where you want to spawn and the \n"
		 << "vegetation and mineral occupancy of your world!\n"
		 <<endl;
		  
	cout << "Choose in what biome do you want to spawn in: \n"
		 << "Forest\n"
		 << "Plains\n"
		 << "Desert (hardest one)"
		 <<endl;
		 
		 cout << "What biome do you start in?";
		 cin >> spawn;
		 cout << "Are you sure you want to spawn in? " << spawn << endl;
		 cin >> answerOne;
		 
		 if (answerOne == "yes");
		 {
		 	cout << "Your spawn biome will be " << spawn << endl;
		 }
		 
		 return 0;
}
Topic archived. No new replies allowed.