cout << "Enter note, the first key is F#3"<< endl;
cin >>Note;
if (Note=="F#3"|| Note=="f#3")
{Fsharp3 = 1480;
Beep(Fsharp3,200);
}
else
if (Note=="play again" || Note=="Play Again")
{Beep(1480,200);
}
cout<<"you entered it Wrong\n";
}while (Note!="F#3"&&Note!="f#3");
system("pause>nul"); //end if
return 0;
}
I want to fix this program, I want to add an option when you enter the key,to play the key first and enter it other wise just enter it, so it should output one message and it should be able to have 2 choices so like if you want to enter the key than just go ahead and enter it other wise write play again to play again the key.