// USAmathAccounting_Ver1.cpp : Defines the entry point for the console application.
//
#include <iostream>
#include <string>
#include <windows.h>

using namespace std;

string answer, mainAnswer;

int main()
{
    string day,UberName;
    double sum, num,n=1;
    double UberMustMakeMoney,daywork,daytomake;
    double VeryImportantMoney;
    sum = 0;
    num = 0;
    double counter = 0;
    bool control = true;
    cout << "Welcome to USA math accounting app" << endl;
    cout << endl;
    cout << "May I ask your name?\n";


    cin >> UberName;
    cout << "How much  you must make to be happy??????? \n";


    cin >> UberMustMakeMoney;
    cout << "How many days you want to work\n";

    cin >> daywork;

    cout << "Do you want to start accounting app ? \n";
    


    HANDLE h = GetStdHandle(STD_OUTPUT_HANDLE);
    WORD wOldColorAttrs;
    CONSOLE_SCREEN_BUFFER_INFO csbiInfo;
    GetConsoleScreenBufferInfo(h, &csbiInfo);
    wOldColorAttrs = csbiInfo.wAttributes;

    cin >> answer;
    while (answer == "Yes" || answer == "y" || answer=="yes")
        //double sum, num;
    {
        
        SetConsoleTextAttribute(h, FOREGROUND_BLUE | FOREGROUND_INTENSITY);

        cout << "Waht day was this bill due??\n";
        cin >> day;

        cout << n << " " << day << " _ please input how much $$ ?? \n";
        cin >> num;
        cout << "hey love did you save any money to this day\n";

        string savingAnswer;
        cin >> savingAnswer;

        SetConsoleTextAttribute(h, FOREGROUND_GREEN | FOREGROUND_GREEN);
        cout << "How much you had in your uber stash to this moment\n";
        double saving;
        cin >> saving;

        cout << "hey love do  you want  assig 0 or something not work i mean ruling Money to \n";
        double Notwork;
        cin >> Notwork;

        sum = sum + num;
        
        

            
        
        /*cout << num << "$ for  " << day << "   " << " that makse the total amount of bills , " << sum << "  $$$ for " << n << " days" << endl;*/

        n++;
        /*if (answer == "Yes" || answer == "y" || n >= 1)*/

        
            SetConsoleTextAttribute(h, FOREGROUND_RED | FOREGROUND_GREEN);
            /*SetConsoleTextAttribute(h, wOldColorAttrs);*/
            cout << "*************************************   $$$   " << UberName << "   $$$$   tax 15 % ,main and admoin taxable 250,main and admoin Not  taxable 250, 450 gas" << endl;
            cout << endl;
            cout << "The day" << "    The DUE $ day " << " the sum" << " your estimate made " << "   is it positive or negative??? \n";
            cout << "   " << day << "     " << num << "          " << sum << "                 " << ((((((100 * (UberMustMakeMoney + 250)) / 85) + 700) / daywork))  * (n - 1) + (saving - Notwork)) << "              " << (((((((100 * (UberMustMakeMoney + 250)) / 85) + 700) / daywork))* (n - 1) + (saving - Notwork)) - sum) << endl;

        /*control = true;
        if (control)
        {*/
        SetConsoleTextAttribute(h, FOREGROUND_GREEN | FOREGROUND_GREEN);
        cout << "Would like to add another day bill?\n";
        cin >> answer;
        /*}*/

        /*else
        {
        SetConsoleTextAttribute(h, wOldColorAttrs);
        cout << endl;
        cout << "Would like to play again?\n";
        cin >> answer;
        }*/

    }
    
    SetConsoleTextAttribute(h, wOldColorAttrs);
    system("pause");
    return 0;
    /*cout << "Do you want to close the console ??\n";
     
    cin >> mainAnswer;*/


    /*if (mainAnswer == "y" || "Y")
    {
        cout << "insert any key to close";
        
    }
    else
    cout << "Do you want to add another accounting session?\n";
    string answer;*/
    
}

    USA math is the Only AI Licensing Company

                        USA math is the only company who will certified companies like Facebook, Microsoft, Google, World governments, you name it to use AI. If I say no the fine will be either 
                                                                                                                    1 000 000 000 000 000 $ or Complying with USA math AI concepts based on System engine Platform.
                                         
and this is exactly how I will control the world's Psychopaths to save my lovely humans and lead them to think about Jesus Christ, the only way to heaven.

                                                      Be Quiet and in peace in Jesus and in Jesus Onlyin the right way at end times,  to suffer less.