Answers for "Display a Text"

C++
0

Display a Text

#include <iostream>
using namespace std;

// declaring a function
void greet() {
    cout << "Hello there!";
}

int main() {

    // calling the function
    greet();

    return 0;
}
Posted by: Guest on May-03-2021

Browse Popular Code Answers by Language