Alpha Geek

(8)

$10/per page/Negotiable

About Alpha Geek

Levels Tought:
University

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Environmental science,Essay writing,Programming,Social Science,Statistics Hide all
Teaching Since: Apr 2017
Last Sign in: 438 Weeks Ago, 2 Days Ago
Questions Answered: 9562
Tutorials Posted: 9559

Education

  • bachelor in business administration
    Polytechnic State University Sanluis
    Jan-2006 - Nov-2010

  • CPA
    Polytechnic State University
    Jan-2012 - Nov-2016

Experience

  • Professor
    Harvard Square Academy (HS2)
    Mar-2012 - Present

Category > Programming Posted 02 May 2017 My Price 10.00

Rectangle Class

 

(Rectangle Class) Create a class Rectangle with attributes length and width, each of which defaults to 1. Provide methods that calculate the rectangle’s perimeter and area. It has set and get methods for both length and width. The set methods should verify that length and width are each floating-point numbers larger than 0.0 and less than 20.0. Write a program to test class Rectangle.

 

 

 
 

Answers

(8)
Status NEW Posted 02 May 2017 10:05 AM My Price 10.00

-----------

Attachments

file 1493719685-rec 1.txt preview (374 words )
imp-----------ort----------- ja-----------va.-----------uti-----------l.S-----------can-----------ner----------- ----------- pu-----------bli-----------c c-----------las-----------s T-----------est-----------Rec-----------tan-----------gle----------- ex-----------ten-----------ds -----------Rec-----------tan-----------gle----------- ----------- ----------- ----------- ----------- p-----------ubl-----------ic -----------sta-----------tic----------- vo-----------id -----------mai-----------n(S-----------tri-----------ng -----------arg-----------s) ----------- ----------- ----------- ----------- ----------- ----------- Sc-----------ann-----------er -----------inp-----------utn-----------ew -----------Sca-----------nne-----------r(S-----------yst-----------em.-----------in)----------- ----------- ----------- ----------- do-----------ubl-----------e w-----------idt-----------h ----------- ----------- ----------- d-----------oub-----------le -----------hei-----------ght----------- ----------- ----------- ----------- ----------- ----------- ----------- c-----------har----------- cu-----------sto-----------m ----------- ----------- ----------- ----------- ----------- -----------Sys-----------tem-----------.ou-----------t.p-----------rin-----------tln-----------(Wo-----------uld----------- yo-----------u l-----------ike----------- to----------- cu-----------sto-----------miz-----------e y-----------our----------- re-----------cta-----------ngl-----------e) ----------- ----------- ----------- -----------cus-----------tom-----------inp-----------ut.-----------nex-----------t()-----------.ch-----------arA-----------t(0-----------) ----------- ----------- ----------- ----------- ----------- ----------- -----------if(-----------cus-----------tom----------- y-----------) ----------- ----------- ----------- ----------- ----------- ----------- ----------- ----------- Re-----------cta-----------ngl-----------e r-----------2ne-----------w R-----------ect-----------ang-----------le(-----------)
file 1493719691-rec2.txt preview (443 words )
pub-----------lic----------- cl-----------ass----------- Re-----------cta-----------ngl-----------e ----------- ----------- -----------pri-----------vat-----------e d-----------oub-----------le -----------Wid-----------th ----------- ----------- p-----------riv-----------ate----------- do-----------ubl-----------e H-----------eig-----------ht ----------- ----------- R-----------ect-----------ang-----------le(-----------) ----------- ----------- ----------- ----------- ----------- W-----------idt-----------h1.-----------0 ----------- ----------- ----------- H-----------eig-----------ht1-----------.0 ----------- ----------- ----------- ----------- R-----------ect-----------ang-----------le(-----------dou-----------ble----------- ne-----------wWi-----------dth-----------, d-----------oub-----------le -----------new-----------Hei-----------ght-----------) ----------- ----------- ----------- ----------- ----------- W-----------idt-----------hne-----------wWi-----------dth----------- ----------- ----------- ----------- He-----------igh-----------tne-----------wHe-----------igh-----------t ----------- ----------- ----------- ----------- pu-----------bli-----------c v-----------oid----------- se-----------twi-----------dth-----------(do-----------ubl-----------e w-----------) ----------- ----------- ----------- ----------- ----------- i-----------f(w-----------0.0----------- w-----------20.-----------0) ----------- ----------- ----------- ----------- ----------- Wi-----------dth-----------w ----------- ----------- ----------- ----------- ----------- ----------- -----------pub-----------lic----------- do-----------ubl-----------e g-----------etw-----------idt-----------h()----------- ----------- ----------- ----------- ----------- ----------- if-----------(Wi-----------dth-----------0.0----------- W-----------idt-----------h20-----------.0)----------- ----------- ----------- ----------- re-----------tur-----------n W-----------idt-----------h ----------- ----------- -----------
Not Rated(0)