Docsity

Computers & Programming HW 9: Calculate Area of Rectangle & Circle in VB - Prof. Robert Go, Assignments of Computer Science

Toggle sidebar
bg1
Wentworth Institute of Technology
Division of Professional and Continuing Studies
COMP112 Section 71 – Introduction to Computers and Programming – Spring, 2009
Homework 9 – VB – Area of Rectangle
Instructor: Bob Goldstein (617) 912-2512
http://home.comcast.net/~goldsteinr/Courses/index.html
http://goldstein.eri.harvard.edu/courses/index.html
http://myweb.wit.edu/goldsteinr/Courses/index.html
Due Date: May 4, 2009. . DO NOT EMAIL. Print out Screen Shot and Listing of Code.
The screen captures should be of the form before it runs as well as screen captures of the program after a
calculation
Purpose: This homework is intended to do a first program in VB
Description :
Write a program to calculate the area of a rectangle. The program should follow the same structure as the program we did in
class to add two numbers.
Sample Form For The Program
Extra Credit:
Make a version of the program that calculates the area and circumference of a circle. The formulas for these are:
A = *rr2
C = 2*r*rr
The program should have an input box for the radius and display both the area and circumference in separate text boxes.
/app/work/qkdauj-472584-2765008-homework9-doc.doc 1 12/3/2020 12/3/2020

Partial preview of the text

Download Computers & Programming HW 9: Calculate Area of Rectangle & Circle in VB - Prof. Robert Go and more Assignments Computer Science in PDF only on Docsity!

Wentworth Institute of Technology

Division of Professional and Continuing Studies

COMP112 Section 71 – Introduction to Computers and Programming – Spring, 2009

Homework 9 – VB – Area of Rectangle

Instructor: Bob Goldstein (617) 912- [email protected] [email protected] http://home.comcast.net/~goldsteinr/Courses/index.html http://goldstein.eri.harvard.edu/courses/index.html http://myweb.wit.edu/goldsteinr/Courses/index.html

Due Date: May 4, 2009.. DO NOT EMAIL. Print out Screen Shot and Listing of Code.

The screen captures should be of the form before it runs as well as screen captures of the program after a calculation

Purpose: This homework is intended to do a first program in VB

Description:

Write a program to calculate the area of a rectangle. The program should follow the same structure as the program we did in class to add two numbers. Sample Form For The Program Extra Credit: Make a version of the program that calculates the area and circumference of a circle. The formulas for these are: A = rr^2 C = 2r*rr The program should have an input box for the radius and display both the area and circumference in separate text boxes. /app/work/qkdauj-472584-2765008-homework9-doc.doc 1 12/3/2020 12/3/