This program involves two methods, sum and average. Sum returns the sum of the four numbers and average calculates the average using that sum. My Code Model Code Comments I like my one better than the model code on this one. Maybe not quite as clear but better.
This method compares three numbers and then returns the largest one to the main program. My Code Model Code Comments The model solution is quite different from mine and I have to say nicer although mine has less lines, theirs is easier to read.
This programs create the method least, which returns the least of the numbers given as parameters. If the parameters are equal, you can decide which one is returned. My Code Model Code Comments Same problem as last time. I created a new variable and then got return to pass it instead of just using return […]
In this program you are asked to implement the method by summing the numbers passed to it and then return them to the main program. My Code Model Code Comments I got all cocky and thought I had it perfect but the model solution halves the lines of code (1 instead of 2) by returning […]
Kazam is a very simple screen recorder for KDE but just because it is simple doesn’t mean it isn’t really good at it’s job. Kazam provides a well designed and easy to use interface for capturing screen‐casts and screenshots. It can record desktop video and multiple audio streams simultaneously with control over audio levels and […]