subject

Ur program is to prompt the user for: - the book's 10 digit ISBN number (store as a string) - the list price per copy - the expected class enrollment - code of 'R' for required text or code of 'S' for suggested text - code of 'N' for a newly suggested text or code of 'C' for an old(repeated) text that has been used the previous quarter CALCULATE: Calculate the number of copies needed and the profit if the store pays 80% of list price, book store's cost, (use global #define macro for this). For the number of books to order, round to the nearest whole book quantity. Use one function to calculate number of books, one function to calculate the profit, and one function to output. OUTPUT, A sample run might look like this: Enter book number: 0755798652 Enter price per copy: 34.98 Enter expected class enrollment: 31 Enter 'R' if required or 'S' if suggested: r Enter 'N' if new or 'C' if not a new text: C ISBN: 0755798652 Copies Needed: __ Profit: $ THEME ISSUES ( what you have learned and to be applied in this lab): Functions (pass by value), if Constructs, character type, rounding

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 20:00, jumpgirll
The blank button automatically displays next to the data when you select a range of numeric data which is an available option for creating a chart
Answers: 3
image
Computers and Technology, 23.06.2019 18:30, janny48
How often does colleges update the cost of attendance on their website? . a)every two years b) every four years c) every year d) every semester
Answers: 1
image
Computers and Technology, 24.06.2019 11:20, brittanybyers122
Print "censored" if userinput contains the word "darn", else print userinput. end with newline. ex: if userinput is "that darn cat.", then output is: censoredex: if userinput is "dang, that was scary! ", then output is: dang, that was scary! note: if the submitted code has an out-of-range access, the system will stop running the code after a few seconds, and report "program end never reached." the system doesn't print the test case that caused the reported message.#include #include using namespace std; int main() {string userinput; getline(cin, userinput); int ispresent = userinput. find("darn"); if (ispresent > 0){cout < < "censored" < < endl; /* your solution goes here */return 0; }
Answers: 3
image
Computers and Technology, 24.06.2019 14:00, superstarsara5ouh83x
Fast answer i need for apex ! smartphones should be banned from the classroom in public schools so that students cannot cheat on test so easily? which is an example of a counter argument to the thesis above? a. the classroom is a place for learning not for making phone calls b. smartphones are useful learning tools in the modern classroom c. banning smartphones will not students pay attention to teachers any better d. banning smartphones would decreased incidents of theft
Answers: 2
You know the right answer?
Ur program is to prompt the user for: - the book's 10 digit ISBN number (store as a string) - the li...

Questions in other subjects:

Konu
Mathematics, 11.03.2021 17:40
Konu
Engineering, 11.03.2021 17:40
Konu
English, 11.03.2021 17:40
Konu
Mathematics, 11.03.2021 17:40
Konu
Mathematics, 11.03.2021 17:40