Saturday, 20 May 2017

Write a C/C++ program to print your name, date of birth. and University Name Problem Solution.


C Solution:

#include<stdio.h>
/*
    * Prosen Ghosh
    * American International University - Bangladesh (AIUB)
    *
*/
void main(){
    printf("Name: Prosen Ghosh\n");
    printf("DOB: 20/11/1993\n");
    printf("University Name: American International University - Bangladesh (AIUB)");
}

C++ Solution:

#include<bits/stdc++.h>
using namespace std;
/*
    * Prosen Ghosh
    * American International University - Bangladesh (AIUB)
    *
*/
int main(){

    cout << "Name: Prosen Ghosh" << endl;
    cout << "DOB: 20/11/1993" << endl;
    cout << "University Name : American International University - Bangladesh (AIUB)";
    return 0;
}

No comments:

Post a Comment