Files
C-CPP_Practise/ax_funktions.hpp

16 lines
289 B
C++

//Funktionsdeklaration ax_funktions.hpp
#pragma once
namespace ax{
void print_number(int x)
{
std::cout << "Die Zahl ist: " << x << std::endl;
std::cout << "Das doppelte der Zahl ist: " << x*2 << std::endl;
}
int sqrt(int x){
return x*x;
}
}