ok im new to the coding scene and im giving my self some homework to help me out with some c++ coding...
I made this problem up. Ok you your library contains anywhere from 10-20 books.. each book has 300-500 pages...however, each book only has 25 words per page. So, what is the least amount of words you can have, and what is the greatest amount of words you can have? im trying to code a program that u enter these parameters, and it spits out 2 answers...least and greatst amount of words.
Pseudocode will help also!
I think i need to this so far...
int books, pages;
final int words;
...then i dont know where to start...LOL
I made this problem up. Ok you your library contains anywhere from 10-20 books.. each book has 300-500 pages...however, each book only has 25 words per page. So, what is the least amount of words you can have, and what is the greatest amount of words you can have? im trying to code a program that u enter these parameters, and it spits out 2 answers...least and greatst amount of words.
Pseudocode will help also!
I think i need to this so far...
int books, pages;
final int words;
...then i dont know where to start...LOL