The following program shows how to define a function in C++ with no argument but a return value . Python Program to Calculate the Length of a String Without Using a Library Function, C Program to print Hello World! without using a semicolon, Define a function pyramid(), this will take nothing, for initialize i := 1, when i <= 10, update (increase i by 1), do . Selenium With Python Or Java, I have std::vector