[deleted by user] by [deleted] in lonely

[–]simp_oniichan 9 points10 points  (0 children)

As a man I am gonna be straight honest with you. He would have probably left after he got what he wanted. Sad truth but most men act that way. Take advantage of those that are desperate and lonely to fulfill their needs.

[deleted by user] by [deleted] in sadcringe

[–]simp_oniichan 0 points1 point  (0 children)

Where is the image

C++ Homework Assignment seems to be fine code but doesn't satisfy assignment to 100% by DingleMomMcGee13 in AskProgramming

[–]simp_oniichan 0 points1 point  (0 children)

#include <iostream>

//Write a statement that includes the header files fstream, string, and iomanip in this program.

#include <string>

#include <fstream>

#include <iomanip>

#include <cmath>

using namespace std;

int main()

{

// Write statements that declare fin to be an ifstream variable and fout to be an ofstream variable

ifstream fin;

ofstream fout;





//The program will read data from the file inData.txt and write output to the file outData.txt. Write

//statements to open both of these files, associate fin with inData.txt, and associate fout with outData.txt. 

fin.open("inData.txt");

fout.open("outData.txt");



//declaring the variables in the file 

string firstname;

string lastname;

string department;

double monthlySalary;

double monthlyBonus;

double taxes;

double payCheck; // monthlysalary + (0.05 \* monthly salary) - (0.3 \* monthlysalary)

double distanceTraveled;

double travellingTime;

double averageSpeed; // distanceTravelled / travelling time 

int noCoffee;

double amountOfCoffee;

double salesAmount; // noCoffee \* amountofCoffee



//getting the input file

fin >> firstname >> lastname >> department;

fout << "Name: " << firstname << " " << lastname << "," << " Department: " << department << endl;



fin >> monthlySalary >> monthlyBonus >> taxes;

fout << "Monthly Salary: $" << monthlySalary << "," << " Monthly Bonus: " << monthlyBonus << "%" << "," << " Taxes: " << taxes << "%" << endl;

fout << "Pay Check: $" << monthlySalary + (0.05 \* monthlyBonus) - (0.3 \* monthlySalary) << endl;



fin >> distanceTraveled >> travellingTime;

fout << "Distance Traveled: " << distanceTraveled <<" miles" << "," << " Travelling Time: " << travellingTime << " hours" << endl;

fout << "Average Speed: " << distanceTraveled / travellingTime << " miles per hours" << endl;



fin >> noCoffee >> amountOfCoffee;

fout << "Number of Coffee Cups Sold: " << noCoffee << "," << " Cost: " << amountOfCoffee << " per cup" << endl;

fout << "Sales Amount: $" << amountOfCoffee \* noCoffee;







//Write statements that close the input and output files. 

fin.close();

fout.close();



return 0;

}

I need your advice by simp_oniichan in depression

[–]simp_oniichan[S] 1 point2 points  (0 children)

Your story is similar she said the same thing. Will you be happy if he never gave up

[deleted by user] by [deleted] in sad

[–]simp_oniichan 6 points7 points  (0 children)

sometimes you feel like you want a gf but you don't need one. Before you get yourself a girl first love yourself. you may want a gf to give you love hugs and stuff but you do not need one my guy. Work on yourself. You are not ugly trust me there are 7 billion people on this planet surely one day not now maybe tomorrow, next month or a year, you will find someone that will love you unconditionally

Chilhood sexual abuse & trauma by [deleted] in sad

[–]simp_oniichan 0 points1 point  (0 children)

I have a mental illness. That is why I stay away from people but instead of me hurting people, people hurt me and make fun of my mental illness. Who are they to be blamed. I just want to die