EBK C HOW TO PROGRAM
8th Edition
ISBN: 9780100663831
Author: Deitel
Publisher: YUZU
expand_more
expand_more
format_list_bulleted
Concept explainers
Question
Chapter 1, Problem 1.6E
a)
Program Plan Intro
To fill the blanks in the given statement with appropriate words.
b)
Program Plan Intro
To fill the blanks in the given statement with appropriate words.
c)
Program Plan Intro
To fill the blanks in the given statement with appropriate words.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
I WANT CODE IN SIMPLE C LANGUAGE WITH CORRECT CODE PLZ SIR
SachaSweets and Bakers is a popular baker. The store has multiple sections for Cakes, Cupcakes, Brownies, Savory Items, Chips and Nimco. Currently, the store maintains a manual register for recording the details of thebake items such as type, price, orderQty, sales, and so on. However, the owner of the store has decided to automate the tasks such as data entry, sales calculation, stock updation, and so on to save time and effort required in the tasks.
You as a software developer have to accomplish the task as follows:
You have to create structure for user in which you store user details. Structure has four members: name, city, CNICno and phoneNo.
First you have to show menu to user with different categories including subcategories, for this write function for show menu. Every category have different items list in it. Example:
Cakes:
Chocolate Malt Cake 1900
Three Milk Cake 1500
Pineapple Cake 1000
Strawberry Cheese Cake 1700…
Hello, I require help answering these questions. Could you help me in answering the questions deeply? Thanks
Q1. What does a professional programmer usually do first to gain an understanding of a problem?
Q2. What is pseudocode?
Q3. Computer programs typically perform what three steps?
Q4. What does the term user-friendly mean?
Q5. What two things must you normally specify in a variable declaration?
Q6. What value is stored in uninitialized variables?
write alogrithms for the following blocks of code...
2nd Block:
int main(){//-------defining variables and initializing them-------------
HRM info ;
int c;char operation,ch;//--------Printing my name on screen----------------cout<< "Welcome to XYZ HR System Management by Kaiser, James."<<endl;cout<<"**************************************************************************"<<endl;cout<<endl<<endl<<endl;do{
cout<<"Welcome to Human Resource Management (HRM) Software of Company XYZ.";cout<<"To do specific task please choose one of the following commands."<<endl<<endl<<endl;cout<<" 1. Add new employee"<<endl;cout<<" 2. Delete employee information"<<endl;cout<<" 3. Update employee information"<<endl;cout<<" 4. Make reports based on specific field"<<endl;cout<<" 5. Search employee"<<endl;cout<<" 6. Quit"<<endl<<endl;
while(!(cin>>c))…
Chapter 1 Solutions
EBK C HOW TO PROGRAM
Ch. 1 - Categorize each of the following items as either...Ch. 1 - Fill in the blanks in each of the following...Ch. 1 - Prob. 1.6ECh. 1 - Prob. 1.7ECh. 1 - Prob. 1.8ECh. 1 - (Internet Negatives) Besides their numerous...Ch. 1 - Prob. 1.10ECh. 1 - (Test-Drive: Body Mass Index Calculator) Obesity...Ch. 1 - Prob. 1.14MDCh. 1 - (Privacy) Some online e-mail services save all...
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- PYTHON question Question 1: Twenty-Twenty-Three Part 1: Come up with the most creative expression that evaluates to 2023, using only numbers and the [+, *, - ] operators. You should replace the underscores in return ______ with the expression that evaluates to 2023. def twenty_twenty_three(): """Come up with the most creative expression that evaluates to 2023,using only numbers and the +, *, and - operators. (no call expressions) >>> twenty_twenty_three() 2023 """ *** YOUR CODE HERE *** return _______ Part 2: Try to rewrite the same expression, this time entirely with call expressions (using function calls: add, mul, sub, etc… You can use from operators import add, mul, sub)arrow_forward(For thought) a. What’s an advantage of namespaces? b. What’s a possible disadvantage of namespaces?arrow_forwardQ5 PYTHON MULTIPLE CHOICE Code Example 4-1 def get_username(first, last): s = first + "." + last return s.lower() def main(): first_name = input("Enter your first name: ") last_name = input("Enter your last name: ") username = get_username(first_name, last_name) print("Your username is: " + username) main() A. Refer to Code Example 4-1: What is the scope of the variable named s ? a. global b. local c. global in main() but local in get_username() d. local in main() but global in get_username()arrow_forward
- Need help with Python....please paste indented code here 4. Implement the following to simulate how websites ensure that everyone has a unique username.a) Make a list of five or more usernames called current_users.b) Request an input of username.c) Print a message, Sorry XXX, that name is taken and also display the current user list if the inputusername has already been used. XXX is the input user name.d) Print a message, Great, XXX is still available and also display the updated user list if the username hasnot been used.e) Make sure your comparison is case insensitive. If 'John' has been used, 'JOHN' or ‘john’ should not beaccepted.Example Output 1Enter your user name: TOMSorry TOM, that name is taken.Current users: [‘admin’, ‘tom’, ‘jerry’, ‘Dora’, ‘GEORGE’] Example Output 2 Enter your user name: curiousGeorge Great, curiousGeorge is still available. Updated users: [‘admin’, ‘tom’, ‘jerry’, ‘Dora’, ‘GEORGE’, ‘curiousGeorge’] 5. Implement the following to search a…arrow_forwardAssignment #2 Instructions: Through this programming assignment, the students will learn to do the following: Learn to work with command line options and arguments Gain more experience with Makefiles Gain more experience with Unix Learn to use some of the available math functions available with C Usage: mortgagepmt [-s] -r rate [-d downpayment] price In this assignment, you are asked to perform a mortgage payment calculation. All information needed for this will be passed to the program on the command line. There will be no user input during the execution of the program You will need a few pieces of information. The price of the home and the amount of the down payment. You will also need to know the interest rate and the term of the mortgage. To figure your mortgage payment, start by converting your annual interest rate to a monthly interest rate by dividing by 12. Next, add 1 to the monthly rate. Third, multiply the number of years in the term of the mortgage by 12 to calculate the…arrow_forwardpython multiple choice Code Example 4-1 def get_username(first, last): s = first + "." + last return s.lower() def main(): first_name = input("Enter your first name: ") last_name = input("Enter your last name: ") username = get_username(first_name, last_name) print("Your username is: " + username) main() 5. Refer to Code Example 4-1: What is the scope of the variable named s ?a. globalb. localc. global in main() but local in get_username()d. local in main() but global in get_username()arrow_forward
- 01bquestion for the following Question im after A PYTHON CODE ONLY NO C++ OR JAVA Just Fucking PYTHON CODE!!!!!!!!!!!!!!!!!!! im wasting my question here because you guys cant understand!!!! Question: The temperature alone is not enough to provide the answer. Other factors including wind speed, relative humidity, and sunshine play important roles in determining coldness outside. In 2001, the National Weather Service (NWS) implemented the new wind-chill temperature to measure the coldness using temperature and wind speed. The formula is given as follows: ??? =35.74+0.6215?? -35.75?0.16 +0.4275???0.16 Where ?? is the outside temperature measured in degrees Celsius and? is the speed measured in km per hour. ??? is the wind-chill temperature. The formula cannot be used for wind speeds below 3 km per hour or for temperatures below -50°C or above 5°C. For the following question this needs to be done!!!! (please again make sure the answer and Typed for the code please provide the typed…arrow_forwardAssignment #2 Instructions: Through this programming assignment, the students will learn to do the following: Learn to work with command line options and arguments Gain more experience with Makefiles Gain more experience with Unix Learn to use some of the available math funtions available with C Usage: mortgagepmt [-s] -r rate [-d downpayment] price In this assignment, you are asked to perform the mortgage payment calculation. All information needed for this will be passed to the program on the command line. There will be no user input during the execution of the program You will need a few pieces of information. The price of the home and the amount of the down payment. You will also need to know the interest rate and the term of the mortgage. To figure your mortgage payment, start by converting your annual interest rate to a monthly interest rate by dividing by 12. Next, add 1 to the monthly rate. Third, multiply the number of years in the term of the mortgage by 12 to calculate…arrow_forward12. Calculate the travel fare. Need C, C++, Java, Python, or Perl code for the below question. Important: Do not copy codes from prepinsta.com.arrow_forward
- C++ Programming. I need to develop my original code. Please help me write a C++ code following this instructions: (Please write your own code, not copy other contents please) The company needs a more detailed report to be generated at the end of each shift. The sample screen output with the report is listed below: Welcome to CTC Taxi. Do you need a taxi? Y Taxi CTC0001 will pick you up in a few minutes. (Taxi CTC0001 determined that there were 3 passengers) Do you need a taxi? Y Taxi CTC0004 will pick you up in a few minutes. (Taxi CTC0004 determined that there were 5 passengers) …… …… Do you need a taxi? N CTC Taxi served a total of 124 passengers today. CTC0001 CTC00022 CTC0003 CTC0004 CTC0005 CTC0006 19 Calls 25 Calls 10 Calls 12 Calls 22 Calls 13 Calls 25 Passengers 45 Passengers 34 Passengers 29 Passengers 24 Passengers 30…arrow_forwardPython help!!! Hello, I need to solve this with no advanced functions or anything in an hour and I have no idea of how to do it. I appreciate your help, thank you very much. *it has to have different functions with no more than 30 lines in each. *no advanced material, as simple as possible because I'm new at this. *please read the instructions carefullyarrow_forwardPlease complete this program in C++ Please enusre that there is plenty of comments. PLENTY even if unessessary. Please include screenshots of actual code, screenshots of output, and code in the browser so I can copy and paste. Thank you.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Programming Logic & Design ComprehensiveComputer ScienceISBN:9781337669405Author:FARRELLPublisher:CengageC++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology Ptr
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr