#include <iostream>
#include <iomanip>
#include <cmath>
#include <fstream>
usingnamespace std;
/**
as of May 8th 2015
An one can grade a USA Currency all you have to do is Practice.
The attributes are very similar to the Grading Companies. The exception this FREE system uses a Scale from 1 to 100
Please only enter the values that are indicated or there will be an error.
This program is WORK IN PROGRESS!
As time goes on, I will improve it but right now it's pretty RAW
This is a way to grade your USA Notes.... It's your grade! It's a Value just for YOU.
Be Honest, it's your system
Watch for upgrades to this program
Thank you for Collecting USA Currency
*********/
int main()
{ int corners;
int tears;
int ink;
int holes;
int color;
int dirt;
int smears;
int margins;
int folds;
int overall;
int stains;
int score;
int ironed;
int stop;
int x;
int y;
int corners2;
int tears2;
int ink2;
int holes2;
int color2;
int dirt2;
int smears2;
int margins2;
int folds2;
int overall2;
int stains2;
int score2;
int ironed2;
int lprint;
// need to start on the Obverse side of the note
cout << "Are you looking at the OBVERSE side of a note: 0=yes ";
cin >> x;
cout << "Look at the CORNERS on a scale from 0 to 5 look at the corners:";
cin >> corners; ".\n";
cout <<"Look to see if there any Tears -scale 0 to 5 enter TEARS:";
cin >> tears; ".\n";
cout <<"For Pencil or INK scale from 0 to 10 enter:";
cin >> ink; "\n";
cout <<"Look to see if the Note had been Pressed or IRONED scale from 0 to 5 enter:";
cin >> ironed; '\n';
cout <<"Look to determine Crinkles or Holes scale from 0 to 10 enter:";
cin >> holes; '\n';
cout <<"Look at the Color scale from 0 to 10 enter:";
cin >> color; '\n';
cout <<"Look at note if it's DIRTY scale from 0 to 5 enter: " ; '\n';
cin >> dirt; '\n';
cout <<"Look for INK Smears scale from 0 to 5 enter: " ; '\n';
cin >> smears; '\n';
cout <<"Look for Stains scale from 0 to 10 enter: " ; '\n';
cin >> stains; '\n' ;
cout <<"Look to see if the Margins are EVEN scale from 0 to 5 enter: " ; '\n';
cin >> margins; '\n';
cout <<" Look to see how many Folds scale from 0 to 10 enter: " ; '\n';
cin >> folds; '\n';
cout <<"Determine the Overall condition scale from 0 to 20 enter: " ; '\n';
cin >> overall; '\n';
score += corners + tears + ink + ironed + holes + color + dirt + smears + stains + margins + folds + overall ; ".\n";
cout << "Total Condition>>OBVERSE is " << score; "./n";
// for the reverse
cout << "Are you looking at the REVERSE side of a note: 0=yes ";
cin >>y;
cout << "Look at the CORNERS on a scale from 0 to 5 look at the corners:";
cin >> corners2; '\n';
cout <<"Look to see if there any Tears scale 0 to 5 enter TEARS:";
cin >> tears2; '\n';
cout <<"For Pencil or INK scale from 0 to 10 enter:";
cin >> ink2; '\n';
cout <<"Look to see if the Note had been Pressed or IRONED scale from 0 to 5 enter:";
cin >> ironed2; '\n';
cout <<"Look to determine Crinkles or Holes scale from 0 to 10 enter:";
cin >> holes2; '\n';
cout <<"Look at the Color scale from 0 to 10 enter:";
cin >> color2; '\n';
cout <<"Look at note if it's DIRTY scale from 0 to 5 enter: " ; '\n';
cin >> dirt2; '\n';
cout <<"Look for INK Smears scale from 0 to 5 enter: " ; '\n';
cin >> smears2; '\n';
cout <<"Look for Stains scale from 0 to 10 enter: " ; '\n';
cin >> stains2 ; '\n' ;
cout <<"Look to see if the Margins are EVEN scale from 0 to 5 enter: " ; '\n';
cin >> margins2 ; '\n';
cout <<" Look to see how many Folds scale from 0 to 10 enter: " ; '\n';
cin >> folds2; '\n';
cout <<"Determine the Overall condition scale from 0 to 20 enter: " ; '\n';
cin >> overall2; '\n';
score2 += corners2 + tears2 + ink2 + ironed2 + holes2 + color2 + dirt + smears2 + stains2 + margins2 + folds2 + overall2 ; '\n';
cout << "Total Condition> REVERSE =" << score2; ".\n";
cout << "Max of 5 for Corners:" << "=" << corners; ".\n";;
cout << "Max of 5 for Tears:" << "=" << tears; ".\n";;
cout << "Max of 10 for Pencil or Ink:" << "=" << ink; ".\n";;
cout << "Max of 10 for Crinkles or Holes:" << "=" << holes; ".\n";;
cout << "Max of 10 for Color" << "=" << color; ".\n";
// cin.get(); got check this
// lprint << "total condition" << score2;
// default: cout<<"Invalid item!" << endl;
return 0;
}
Come on GUYS! (& gals) can someone help this old guy create a FREE exe file alittle.
....
I just want to get this program to run in DOS..... Then I'll try to run it in Windows and then I should be at least a little more smarter to make it an APP.
Problem 1 -- HOW do I get the screen to skip a line? or acouple lines???
Problem 2 -- How do I get the TEXT at the top to Print out on the screen so it tells the user what the file is for? The guy who had it on his file, it printed out fine, and I tried everything and it does NOT print out on mine? weird???
problem 3 IS it possible to make it print to a printer! I have search everybody's code on the site (no I haven't) and nobody is trying to print to a printer.??? isn't Possible? (I don't know, I'm new at this C++)
WHAT ABOUT this idea! SNIP the dos window! print it out and then CUT out the data? I can make that work? what do you think???
problem 3 IS it possible to make it print to a printer! I have search everybody's code on the site (no I haven't) and nobody is trying to print to a printer.??? isn't Possible? (I don't know, I'm new at this C++)
Write the data to a text file, then just print the text file.