I am getting error cs1525 for '}' on line 11,17. How come?

using UnityEngine;
using System.Collections;

public class forcefull : MonoBehaviour {

void Update ()
{
	if (Input.GetButtonDown ("Vertical"))
	{
		Rigidbody2D.AddForce (Vector2.up * 10)
	}
	else
	{
		Rigidbody2D.AddForce(Vector2.up *0.1);
	}
}

}

in future, please try to format all of your code.

the problem is a missing semicolon on line 5 of the code that you posted.