Rewrite the following program after removing the syntactical error(s),if any. Underline each, correction.
Given program
struct movie
{
charm_name[10];
charm_lang[10];
float ticket cost = 50;};
Movie;
void main()
{
gets(m_name);
cin>>m_lang;
return 0;
}