add initial configuration and update author information in header files

This commit is contained in:
MarcUs7i 2025-01-10 22:59:38 +01:00
parent 5beea32eee
commit 0178845516
20 changed files with 850 additions and 823 deletions

View file

@ -1,25 +1,25 @@
/*----------------------------------------------------------
* HTBLA-Leonding
* ---------------------------------------------------------
* Title: Sum of Digits
* Author: */ your name /*
* ----------------------------------------------------------
* Description:
* Recursive and iterative implementation of an algorithm that calculates
* the sum of the digits of a given positive integer.
* ----------------------------------------------------------
*/
/* *************************************************************
* see corresponding c-file for instructions
***************************************************************/
#ifndef ___SUM_OF_DIGITS_H
#define ___SUM_OF_DIGITS_H
#include <stdbool.h>
int sum_of_digits_recursive(int n);
int sum_of_digits_iterative(int n);
/*----------------------------------------------------------
* HTBLA-Leonding
* ---------------------------------------------------------
* Title: Sum of Digits
* Author: Marc Tismonar
* ----------------------------------------------------------
* Description:
* Recursive and iterative implementation of an algorithm that calculates
* the sum of the digits of a given positive integer.
* ----------------------------------------------------------
*/
/* *************************************************************
* see corresponding c-file for instructions
***************************************************************/
#ifndef ___SUM_OF_DIGITS_H
#define ___SUM_OF_DIGITS_H
#include <stdbool.h>
int sum_of_digits_recursive(int n);
int sum_of_digits_iterative(int n);
#endif