Programming: A full of coded excitement (part 2)

 Good Day Everyone! Another post, another content about programming! The concept of the subject thrust us to be good programmers in the future. These are some of the following contents that I managed to code straightforwardly according to the respective problem stated. Here is the problem:

Problem (Set 1):

Create a computer program that asks for two integer inputs. The program will determine the sum of the two values and display the result.


First is Source code in finding the solution using an online GDB debugger and using Java and C program languages.

Source Codes

Java Program:


C program:


Next is getting the blueprint of the sources in which helps for a better understanding of the codes.

Blueprint

In Java:







In C program:






Below is the link that explains the blueprint:


___________________________________________________________________________________


Problem (Set 2):

Read an intuitive information about harmonic mean at Mathsisfun.com. Create a computer program that asks for arbitrary number of integers. The program will determine the average, mean, and harmonic mean of the given integers.

First is Source code in finding the solution using an online GDB debugger and using Java and C program languages

Source Codes

In Java Program:






In C program:



Next is getting the blueprint of the sources in which helps for a better understanding of the codes.

Blueprint


In Java:




In C program:


Below is the link that explains the blueprint:




Comments