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";
@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.