mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
formatting source-code for 9bc80876e8
This commit is contained in:
parent
9bc80876e8
commit
c563fc6694
@ -4,8 +4,8 @@
|
|||||||
* @file
|
* @file
|
||||||
* \brief A C++ Program to find the Sum of Digits of input integer.
|
* \brief A C++ Program to find the Sum of Digits of input integer.
|
||||||
*/
|
*/
|
||||||
#include <iostream>
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Function to find the sum of the digits of an integer.
|
* Function to find the sum of the digits of an integer.
|
||||||
@ -64,7 +64,7 @@ void test() {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Main Function
|
* Main Function
|
||||||
*/
|
*/
|
||||||
int main() {
|
int main() {
|
||||||
test();
|
test();
|
||||||
std::cout << "Success." << std::endl;
|
std::cout << "Success." << std::endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user