Posts

Showing posts with the label Project

AIRLINE RESERVATION SYSTEM

 CODE: #include <string.h> #include <stdlib.h> #include <stdio.h> #include <conio.h> #include <windows.h>  #include <ctype.h> #include <list> //double linked list #include <iostream> #include <fstream>    //input output stream #include <string> // for the atoi conversion #include <sstream> // for the stringstream (used to convert into to string) #include <iomanip> // for organizing output into columns #include <vector> #include <stdlib.h> using namespace std; int loadingBar()  {  // 0 - black background,  // A - Green Foreground  system("color 0A");  // Initialize char for printing  // loading bar  char a = 177, b = 219;  cout<<("\n\n\n\n");  cout<<("\n\n\n\n\t\t\t\t\t""Loading...\n\n");  cout<<("\t\t\t\t\t");  // Print initial loading bar  for (int i = 0; i < 26; i++)  pr...

Family Budget project in C++

Image
Project in C++  Code: #include <iostream> #include <cmath> using namespace std; int main() {     double x, y, size=10;     string message("I LOVE PROGRAMMING ");     int print_line = 4;     if (message.length() % 2 != 0) message += " ";     for (x=0;x<size;x++)      {             for (y=0;y<=4*size;y++)            {             double dist1 = sqrt( pow(x-size,2) + pow(y-size,2) );             double dist2 = sqrt( pow(x-size,2) + pow(y-3*size,2) );             if (dist1 < size + 0.5 || dist2 < size + 0.5 ) {                 cout << "V";             }             else cout << " ";         }        ...