cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
simple program problem
simple program problem
Nov 17, 2008 at 11:19pm UTC
altrim
(2)
hi everyone
i am new to C++
need help;
//Write a program that for 5 books with this atributes
//books name
//authors name
//publishing year
//book price
to be selected only the books from the same year typed by the user(using structures)
Nov 17, 2008 at 11:45pm UTC
Bazzy
(6281)
ctreate a structure containing
1
2
3
string title, author;
unsigned
short
year;
unsigned
double
price;
and do your own calculations
Nov 17, 2008 at 11:49pm UTC
altrim
(2)
"to be selected only the books from the same year typed by the user"( this is the problem)
Nov 18, 2008 at 12:58am UTC
firedraco
(6247)
Get the year from the user, then look for books that have the same year.
Topic archived. No new replies allowed.