wee little bit stuck

can you wonderful helpful people solve my problem again please

#include <iostream>
#include <Windows.h>

using namespace std;
int main()
{
int fanAge;
int number = 1;

cout << "\t";
cout << "please enter a number between 1 and 10 with 10 being the cheapest and 1 being the most expensive -->";
cout << "\n";
if (number) 1, 2, 3;
cin >> number;
cout << "The seat price is 60 pound \n";
}

else{
int number = 4;
if (number) 4, 5, 6, 7, 8;
cin >> number;
cout << "The seat price is 40 pound \n";

{

system("pause");
return 0;
Add code tags and ask a question please.
http://www.cplusplus.com/articles/z13hAqkS/
it gives me an expect a statement on the else but i cant see what is wrong
You made several syntax errors. If you put code tags around it and indent it properly, you should be able to notice the issue quickly.
can you show me please
@OJ123. Are you just completely ignoring what he is saying? Look at the first comment. He asks you to use code tags, and provide you with an article showing you exactly how to do that. Please edit your post and use them.

You need to take a second look on how if and else statements work.

http://www.cprogramming.com/tutorial/lesson2.html
http://www.cplusplus.com/doc/tutorial/control/

https://www.youtube.com/watch?v=yEY8xlnarNo&index=8&list=PLAE85DE8440AA6B83
Topic archived. No new replies allowed.