[solved] – Question 77621
18 When someone is searching for all economics books in the library catalogue but without having any specific book in mind, which data retrieval type is in use?
Subject search
Known-item
Key search
Query search
Expert Answer
[solved] – Question 77622
20 The first stage of the software development lifecycle is which of the following?
Feasibility study
user requirements analysis
design of new system
analysis of the old system
Expert Answer
[solved] – Question 77700
Develop an algorithm to compute gross pay. The inputs to your algorithm are the hours worked per week and the hourly pay rate. The rule for determining gross pay is to pay the regular pay rate for all hours worked up to 40, time-and-a-half for all hours over 40 up to 54, and double time for all hours over 54. Compute and display the value for gross pay using this rule. After displaying one value, ask the user whether he or she wants to do another computation. Repeat the entire set of operations until the user says no.
Expert Answer
[solved] – Question 7771
write a program which take five integers from user and print the sum of all odd integers
Expert Answer
[solved] – Question 77710
When running the program, remember to press the Enter key after typing the last word of the input line.
•• P1.2Write a program that prints out a message “Hello, my name is Hal!” Then, on a new line, the program should print the message “What is your namejust use the following lines of code:
string user_name;
getline(cin, user_name);
Finally, the program should print the message “Hello, user name. I am glad to meet you!” To print the user name, simply use
cout << user_name;
you must place the line
#include <string>
before the main function.
Here is a typical program run. The user input is printed in color.
Hello, my name is Hal!
What is your name?
Dave
Hello, Dave. I am glad to meet you!
Expert Answer
[solved] – Question 77715
Write a program that prints an animal speaking a greeting, similar to (but different from) the following:
/_/ —–
( ‘ ‘ ) / Hello
( – ) < Junior |
| | | Coder!/
(__|__) —–
Expert Answer
[solved] – Question 77716
Find at least five compile-time errors in the following program.
#include iostream
int main();
{
cout << “Please enter two numbers:”
cin << x, y;
cout << “The sum of << x << “and” << y
<< “is: ” x + y << endl;
return;
}
Expert Answer
[solved] – Question 77717
Write a program to simulate a bank transaction. There are two bank accounts: checking and savings. First, ask for the initial balances of the bank accounts; reject negative balances. Then ask for the transactions; options are deposit, withdrawal, and transfer. Then ask for the account; options are checking and savings. Then ask for the amount; reject transactions that overdraw an account. At the end, print the balances of both accounts.
Expert Answer
[solved] – Question 77718
Write a program that reads a sequence of words and then prints them in a box, with each word centered, like this:
+———-+
| Hello |
| C++ |
|programmer|
+———-+
Expert Answer

