I have a problem when I try to solve simple equation. My equation is find the percentage of student marks. This is my code:
using System; using System.Collection
try this:
private void button1_Click(object sender, EventArgs e) { decimal oneee = 300; decimal two = 1000; decimal thee = 10; decimal aResult = (oneee / two) * 10; label1.Text = aResult.ToString("0.00"); }