<< Prev Showing: 216-220 of 348 Next >>
· 191-195 · 196-200 · 201-205 · 206-210 · 211-215 · 216-220 · 221-225 · 226-230 · 231-235 · 236-240 · 241-245 ·Inheritance - SalariedEmployee - C++
Write a program that uses the class SalariedEmployee shown below. Your program is to define a class called Administrator, which is to be derived from the class SalariedEmployee. You are allowed to change private in the base class to protected. You are to supply the following additional data and function members: A member variable of type string that contains the administrator's title (such as Director or Vice President). A member variable of type string that contains the company area of responsibility (such as Production, Accounting, or Personnel). A member variable of type string that contains the name of this administrator's immediate supervisor. A protected: member variable o... click for more
Subject:
Computer Science
Topic:
Software Tools and Systems Programming.
Posting ID:
125090
OTA ID:
105277
Please give me the examples of: • Objects (instances) • Instance Variables (attributes or properties) • Methods • Messages • Interfaces • Encapsulation • Inheritance • Polymorphism
Subject:
Computer Science
Topic:
Software Tools and Systems Programming.
Posting ID:
125284
OTA ID:
103987
Codes for check boxes that gives the users to choose to display or hide informations (labels)
I was told not to use If statement .. and this is what I have so far chkTitle.Value = 1 lblTitle.Visible = False this enables me to check the box and the title disappears as i wish but i dont know how to write the code so that, when i uncheck the box the title appears again i tried to write chkTitle.Value = 0 lblTitle.Visible = True right under chkTitle.Value = 1 lblTitle.Visible = False but then it doesnt work.. says run time error "28"
Subject:
Computer Science
Topic:
Software Tools and Systems Programming.
Posting ID:
125767
OTA ID:
103644
Math.floor may be used to round a number to a specific decimal place. The statement y = Math.floor( x * 10 + 0.5 ) / 10; rounds x to the tenths position (i.e., the first position to the right of the decimal point). The statement y = Math.floor( x * 100 + 0.5 ) / 100; rounds x to the hundredths position (i.e., the second position to the right of the decimal point). Write an application that defines four methods for rounding a number x in various ways: a) roundToInteger( number ) b) roundToTenths( number ) c) roundToHundredths( number ) d) roundToThousandths( number ) For each value read, your program should display the original value, the number rounded to the nearest in... click for more
Subject:
Computer Science
Topic:
Software Tools and Systems Programming.
Posting ID:
126061
OTA ID:
101298
Write program segments that accomplish each of the following tasks: a) Calculate the integer part of the quotient when integer a is divided by integer b. b) Calculate the integer remainder when integer a is divided by integer b. c) Use the program pieces developed in parts (a) and (b) to write a method displayDigits that receives an integer between 1 and 99999 and displays it as a sequence of digits, separating each pair of digits by two spaces. For example, the integer 4562 should appear as 4 5 6 2 d) Incorporate the method developed in part (c) into an application that inputs an integer and calls displayDigits by passing the method the integer entered. Display the results.
Subject:
Computer Science
Topic:
Software Tools and Systems Programming.
Posting ID:
126066
OTA ID:
103987
<< Prev Showing: 216-220 of 348 Next >>
· 1-5 · 6-10 · 11-15 · 16-20 · 21-25 · 26-30 · 31-35 · 36-40 · 41-45 · 46-50 · 51-55 · 56-60 · 61-65 · 66-70 · 71-75 · 76-80 · 81-85 · 86-90 · 91-95 · 96-100 · 101-105 · 106-110 · 111-115 · 116-120 · 121-125 · 126-130 · 131-135 · 136-140 · 141-145 · 146-150 · 151-155 · 156-160 · 161-165 · 166-170 · 171-175 · 176-180 · 181-185 · 186-190 · 191-195 · 196-200 · 201-205 · 206-210 · 211-215 · 216-220 · 221-225 · 226-230 · 231-235 · 236-240 · 241-245 · 246-250 · 251-255 · 256-260 · 261-265 · 266-270 · 271-275 · 276-280 · 281-285 · 286-290 · 291-295 · 296-300 · 301-305 · 306-310 · 311-315 · 316-320 · 321-325 · 326-330 · 331-335 · 336-340 · 341-345 · 346-348 ·Page generated in 0.096 seconds