Okay, so I did some testing to my program here:

```
#include <iostream>
#include <cstring>
#include <windows.h>
using namespace std;

void calcTwinkieChange();

int main(){
        calcTwinkieChange();
        return 0;
}

void calcTwinkieChange(){
   const double tCost(3.50);
   const char DL1[3] = "DL", DL2[3] = "Dl", DL3[3] = "dl", DL4[3] = "dL";
   const char QR1[3] = "QR", QR2[3] = "Qr", QR3[3] = "qr", QR4[3] = "qR";
   const char DM1[3] = "DM", DM2[3] = "Dm", DM3[3] = "dm", DM4[3] = "dM";
   const char NK1[3] = "NK", NK2[3] = "Nk", NK3[3] = "nk", NK4[3] = "nK";
   double totalMoney(0), totalChange(0);
   char inTyp[3];
   while(totalMoney < tCost){
        system("CLS");
        cout << "Input \"DL\" for dollar, \"QR\" for quarter, \"DM\" for dimes, and \"NK\" for nickels:" << endl;
      cin >> inTyp;

      if(strncmp(inTyp, DL1, 3) == 0 || strncmp(inTyp, DL2, 3) == 0 || strncmp(inTyp, DL3, 3) == 0 || strncmp(inTyp, DL4, 3) == 0){
         totalMoney += 1.00;
         cout << "Amount: $" << totalMoney << endl;
         system("PAUSE");
      }
      else if(strncmp(inTyp, QR1, 3) == 0 || strncmp(inTyp, QR2, 3) == 0 || strncmp(inTyp, QR3, 3) == 0 || strncmp(inTyp, QR4, 3) == 0){
         totalMoney += 0.25;
         cout << "Amount: $" << totalMoney << endl;
         system("PAUSE");
      }
      else if(strncmp(inTyp, DM1, 3) == 0 || strncmp(inTyp, DM2, 3) == 0 || strncmp(inTyp, DM3, 3) == 0 || strncmp(inTyp, DM4, 3) == 0){
         totalMoney += 0.10;
         cout << "Amount: $" << totalMoney << endl;
         system("PAUSE");
      }
      else if(strncmp(inTyp, NK1, 3) == 0 || strncmp(inTyp, NK2, 3) == 0 || strncmp(inTyp, NK3, 3) == 0 || strncmp(inTyp, NK4, 3) == 0){
         totalMoney += 0.05;
         cout << "Amount: $" << totalMoney << endl;
         system("PAUSE");
      }
      else{
          Beep(1000, 300);
              cout << "Invalid Input, Please Try Again..." << endl;
              system("PAUSE");
      }
   }
   /*
   cout << "Total Cost: " << tCost << " " << totalMoney << " " << totalChange << " ";
   system("PAUSE");
   */
//--- I believe the issue resides on the line bellow.  It may contain an uninitialized variable— somehow. ---
   totalChange = (totalMoney - tCost);
   cout << "Enjoy your deep fried Twinkie..." << endl;
   cout << "Your change: $" << totalChange << endl;
   system("PAUSE");
}

```

The program is intended to take dollars, quarters, dimes and nickels one after the other, until a sum of $3.50 in total is reached, in which the program will return "Enjoy your deep fried Twinkie." and as well return the proper amount of change if applicable.

The program works great and returns change properly, until I entered 35 dimes and got this as my return for change: 

![enter image description here](https://i.stack.imgur.com/y6f9F.png) I also believe this same thing occurred when entering 70 nickels, and returned a garbage value.

Any insight to the source of my problem is much appreciated.
*It should also be mentioned that my C++ teacher didn't get this ether, hence I'm here.*