No book used, a computer online course, just using Raptor program for flowcharts.
Design a class named CustomerRecord that holds a customer number, name, and address. Include methods to set the values for each data field and output the values for each data field. Create the class diagram and write the code (not language specific, ie. psuedocode) that defines the class.
Write a method that will perform the a division operation (divide by) on the numbers passed to it in two variables (numerator, denominator) and outputs the results. Use a try-catch pair to output an error message if the illegal operation of divide by 0 occurs.
What will be the output of the below program? List what will be outputed to the screen and explain your answer.
num SIZE = 10
num numbers[SIZE] = 0,0,0,0,0,0,0,0,0,0
index = 0
while index < SIZE
numbers[index]= index * 10
index = index + 1
output “The Output is: ”
while index > 0
index = index – 1