C++ Program to Build Blood Bank Management System

Hello developers! In this tutorial, you are going to learn the topic of “C++ Program to Build Blood Bank Management System“. Yes, Let’s move on to the tutorial directly.

C++ Program to Build Blood Bank Management System

C++ Program to Build Blood Bank Management System

Program Code

#include <iostream>
#include<windows.h>
#include "Data_base.h"
#include<cstring>
using namespace std;
int main()
{
    Data_base db;
    while(1)
    {
        int n;
        cout<<"ntt===========================================";
        cout<<"ntt|   Simple Blood Bank Management System   |"<<endl;
        cout<<"tt===========================================";
        cout<<"nt t t ::Enter Your Choice::"<<endl;
        cout<<"ntttTo Add New Data t(1)ntttTo View List Of Donor   (2)ntttTo Search Donor t(3)ntttTo Exit tt(4)"<<endl;
        cout<<"ttt: ";
        cin>>n;
        switch (n)
        {

        case 1:
        {
            system("cls");
            db.Data("Add New");
        }
        break;

        case 2:
        {
            system("cls");
            db.Data("View");
        }
        break;
        case 3:
        {
            system("cls");
            db.Data("Search");
        }
        break;
        case 4:
        {
            return 0;
        }
        break;

        default:
        {
            system("cls");
            cout<<"aaPlease Enter your choice Correctly:aa"<<endl;
        }
        break;
        }

    }
    return 0;
}

Final Words

That’s it, developers. If you need any help to learn “C++ Program to Build Blood Bank Management System“, feel free and let us know via the comment section. We are ready to help you. Share this article with other C/C++ developers to help them.

Share on:

Hi, I'm Ranjith a full-time Blogger, YouTuber, Affiliate Marketer, & founder of Coding Diksha. Here, I post about programming to help developers.

Leave a Comment