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

Instructions for a homework assignment from wentworth institute of technology's division of professional and continuing studies, comp112 section 71, for calculating the area of a rectangle and a circle using visual basic (vb) programming language. The assignment includes sample code, due date, and contact information for the instructor. Extra credit is offered for calculating the circumference of a circle.

Typology: Assignments

Pre 2010

Uploaded on 08/19/2009

koofers-user-pkh-1
koofers-user-pkh-1 🇺🇸

4

(1)

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

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/