Write a program such that base class pointer or reference will always access/call the derived
version of the members available in derived class, do not have any access to the base class
members.
Write a program such that base class pointer or reference will always access/call the base version of the members available in derived class, do not have any access to the derived class members.
Define a class ABC. Derive two classes BBC and KBC from ABC. All the classes contains same
member function name as display(). The base class pointer always holds the derived class objects.
Write a VB program to calculate the wages based on different rates (Normal hours and Overtime rates).
Write a FUNCTION to calculate the wages based on the following condition:
-Normal Hours: RM 10 per hours
-Overtime: RM 15 per hours
NOTE: The function should pass in a value of hours as Double, and a value of type as String. The function should return the calculated amount of wages and return as a Double.
*set the Enabled properties of the Total Wages Text Box to False
Example
NormalHours: XXX
OverTime: XXX
Button
Wages: XXX
Draw the flowchart and write the pseudocode that will compute for the average score of the students per subject (Calculus & English) in three examinations (Prelim, Midterm, Finals) Determine and print how many passed in a class of 40 students in each subject if the passing average are: Calculus = 70 & above, English = 75 & above. Print the student names, scores in the three examinations, average score per subject, and the remarks (Passed or Failed). User will input the examination scores in the two subjects.
2. Mr. Raju want to read 10 array elements and wants to display them in the reverse way. Write a C program to help Mr. Raju to display the array elements in the reverse way.
Write a program that contains a function that displays' Welcome to CS127-8L!" Then, it asks for a double value such as 25.36, 100.02 etc. The maximum is 1000. Getting the function displays the value in words. Please see the sample runs below.
Run 1
Welcome to CS127-8L!
Enter a double value: 255.36
That is two hundred twenty-five and thirty-six centavos!
Run 2
Welcome to CS127-8L!
Enter a double value: 800.20
That is eight hundred and twenty centavos!
finding difference
Write a program that has 3 data members of int type the program take sum of 3 members and then return the square of each number by using public inheritance
write a java display this output :
output format display:
student Name: Florence Cheng
Student id:10010005
Study mode: Part time
programme:
higher diploma in Computer Technology
Cerrent Level: Year 1
Number of modules take by the term : 4
Code Attendance Exam Mark Grade
cs101 100% 80 HD
cs102 69% 71 D
the module details please use Arraylist Record .
the student id of 8 digit and starts with 1001
the student name length maximum is 25 characters with space inclusive
the study mode could be " Full time "or "Part time"
the name of programmes could be selected form the list as shown in table below
the current level could be 1 and 2.1 (means year 1 and 2 means years 2)
the code could be selected form the list as shown in table below