0

Computer Project of 2/2557

Posted by kru.fern on 20:33

This is plan of last year but same as this schedule ^_^



You can got your point follow this rubric ^_^


Let's talk in our classroom - - Take care !

0

The area of a rectangle ^^

Posted by kru.fern on 20:19
Hello! My lovely Students :)

This for recheck about your program :) Calculates the area of a rectangle.

Flowcharts



Code
namespace WindowsFormsApplication1
{
     public partial class Form1 : Form
     {
          public Form1()
          {
               InitializeComponent();
          }
          private void button1_Click(object sender, EventArgs e)
          {   
               int width, length, area;
               width = int.Parse(textBox1.Text);
               length = int.Parse(textBox2.Text);
               area = width * length;
               textBox3.Text = area.ToString("##,###.##");
          }
     }
}

(: It is on your sheet (p.68) if you read your sheet!! Please attention and Take care :)



Copyright © 2009 Information Technology I M.5 by kruFern All rights reserved. Theme by Laptop Geek. | Bloggerized by FalconHive.