I assume your friend thinks youâre batty because of your beverage opinions and not for other reasons beyond my expertise. Given that, Iâd have to side with your Perrier-drinking pal, but also assure you that it is a common misconception that carbonation pulls calcium from your bones.
Functions [edit]. A function, which can also be referred to as subroutine, procedure, subprogram or even method, carries out tasks defined by a sequence of statements called a statement block that need only be written once and called by a program as many times as needed to carry out the same task.
Write a program that calculates the average number of days a company's employees are absent. The program should have the following functions: 1) A function that asks the user for the number of employees in the company. (no parameters, returns an int).