HOME BZU Mail Box Online Games Radio and TV Live Cricket Score All Albums
Go Back   BZU PAGES: Find Presentations, Reports, Student's Assignments and Daily Discussion; Bahauddin Zakariya University Multan Institute of Computing Bachelor of Science in Computer Science BsCS 6th Semester Visual Programming

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 17-06-2011, 09:54 PM
thecool's Avatar
Senior Member


 

Join Date: Apr 2009
Location: Multan
Posts: 1,038
Thanks: 307
Thanked 472 Times in 340 Posts
Contact Number: Push me a PM if you really need
Program / Discipline: Alumni
Class Roll Number: ---
thecool has a reputation beyond reputethecool has a reputation beyond reputethecool has a reputation beyond reputethecool has a reputation beyond reputethecool has a reputation beyond reputethecool has a reputation beyond reputethecool has a reputation beyond reputethecool has a reputation beyond reputethecool has a reputation beyond reputethecool has a reputation beyond reputethecool has a reputation beyond repute
Time Spent Online: 3 Days 5 Hours 37 Minutes 14 Seconds
Smartass Calculate Area Of Rectangle In c#


how Calculate Area Of ectangle In c#
using System; using System.Collections.Generic; using System.Text; namespace ClassRectangle { class Rectangle { int length, breadth; int area; public void definerectangle(int length_input, int breadth_input) { length = length_input; breadth = breadth_input; } public int calculatearea() { area = length * breadth; return (area); } } class Program { static void Main(string[] args) { int area1; Rectangle rect1 = new Rectangle(); rect1.definerectangle(10, 20); area1 = rect1.calculatearea(); Console.Write("Area of Rectangle is "); Console.WriteLine(area1); Console.ReadLine(); } } }
Reply With Quote
Reply

Tags
area, calculate, rectangle


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CCNA 640-802 Chapter 14 Wide Area Network bonfire Networking Fundamentals 0 19-03-2011 10:14 PM
How to Park Car in a No Parking Area.... Raheel Funny Audio & Video Clips 0 10-06-2010 04:57 PM
MIS in the Functional Area of Business; Chapter 13 Charles Parker .BZU. Management Information Systems 0 16-03-2010 12:10 AM
CJP refuses plot in capital’s posh area usman_latif_ch Daily News And halat-e-hazra 0 31-10-2009 11:03 AM
Find the AREA of a Home By using Nested Struct C++ shmsa Object Oriented Programming 4 06-09-2008 05:41 AM


All times are GMT +5. The time now is 12:58 PM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.