Sunday, June 6, 2021

simple program using function (POP) (149)

#include<iostream>

using namespace std;

void displaydata()

{

cout<<"my name = hamza"<<endl;

cout<<"my age = 18"<<endl;

cout<<"my city = mainwali"<<endl;

}


int main()

{

  displaydata();

} 

No comments:

Post a Comment