C++ How to Program (10th Edition)
10th Edition
ISBN: 9780134448237
Author: Paul J. Deitel, Harvey Deitel
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Concept explainers
Question
Chapter 1, Problem 1.5E
To determine
a. To provide the name of language which initially became widely known as the development language of UNIX
To determine
b. To provide the name of the language that was developed by Bjarne Stroustrup in the early 1980s at Bell laboratories.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Assignment #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…
Assignment #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…
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?
Chapter 1 Solutions
C++ How to Program (10th Edition)
Ch. 1 - Fill in the blanks in each of the following...Ch. 1 - Prob. 1.5ECh. 1 - Fill in the blanks in each of the following...Ch. 1 - Prob. 1.7ECh. 1 - (Test Drive: Carbon Footprint Calculator) Some...Ch. 1 - (Test Drive: Body Mass Index Calculator) By recent...Ch. 1 - (Attributes of Hybrid Vehicles) In this chapter...Ch. 1 - Prob. 1.11MADCh. 1 - Prob. 1.12MADCh. 1 - (Programmer Responsibility and Liability) As a...
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
- 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_forward1. Mark the following statements as true or false. a. The calculating device called the Pascaline could calculate sums up to eight figures long. (1) b. All programs must be loaded into the CPU before they can be executed and all data must be loaded into main memory before it can be manipulated. (2) c. Main memory is an ordered sequence of cells and each cell has a random location in main memory. (2) d. The program that loads first when you turn on your computer is called the operating system. (2) e. Analog signals represent information with a sequence of 0s and 1s. (3) f. The machine language is a sequence of 0s and 1s. (3) g. A Binary code is a sequence of 0s and 1s. (3) h. A sequence of eight bits is called a byte. (3) i. One GB is MB. (3) j. In ASCII, A is the 65th character. (3) k. The number system used by a computer is base 2. (3) l. An assembler translates the assembly language instructions into machine language. (4) m. A compiler translates the source program into an object program. n. In a program, statements that begin with the symbol are called preprocessor directives (7) o. An object program is the machine language version of a high-level language program. (9) p. All logical errors, such as division by 0, are reported by the compiler. (9) q. In object-oriented design (OOD), a program is a collection of interacting objects. (10) r. An object consists of data and operations on that data. (10) s. ISO stands for International Organization for Standardization. (11)arrow_forward##The uploaded pictures show the best question of the C Programing problem. Please check the pictures before answering. Thank you *Build a C program file* Design a Banking System with the following output ---------Welcome to BRAC Bank Banking Service--------Please choose one of the options below1. Current Account Information2. Deposit3. Withdraw4. Exit=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-Your Selection: 1You Choose to See your Current Account Information****Your Available Balance is:10500.67 TakaWould you like to do another transaction?YesNo(If yes Display the main menu again) (If no)-----Thank you for using BRAC Bank ATM Service----- ----Welcome to BRAC Bank Banking Service--------Please choose one of the options below1. Current Account Information2. Deposit3. Withdraw4. Exit=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-Your Selection: 2You choose to Deposit money. Your Balance is: 10500.67 Taka****Enter your amount to Deposit: 3525****Your New Balance is: 14,025.67…arrow_forward
- I need help determing why I cannot get my python code to run properly I am still very new to programming, I have been completeing repairs on my code as they come up as indicated by "visual studio code". I am stuck now and need help getting my program in python to work properly? #the main function def main(): monthlySales = getSales() #call to get sales salesIncrease = getIncrease() #call to get sales increase #this function gets the monthly sales def getSales(): monthlySales = input('Enter the monthly sales $') monthlySales = float(monthlySales) return monthlySales #this function gets the percent of increase in sales def getIncrease(): salesIncrease = input('Enter percent of sales increase. For example 4% should be enter as 4: ') salesIncrease = float(salesIncrease) salesIncrease = salesIncrease / 100 return salesIncrease #call to get the store bonus storeAmount = 0 return storeAmount #this function determines the…arrow_forwardHello All, Need help with his homework question and how to code it properly into a module. Question is as follows: Question 3.) Financial experts advise home/property owners to insure their homes to at least 80% of the amount it would cost to replace that home. Design a modular program that asks the user to enter the replacement cost of their home, and then displays the minimum amount of insurance required the owner should buy for their home. All coding is in Python. Thank you.arrow_forwardI 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…arrow_forward
- When do a programmer refactors his/her code?A.You fully understand the code.B.Prevents you from building on it.C.No bugs to be fixed.D.None of the abovearrow_forwardcreate a Python application that makes use of different variables and expressions to output different sets of data. It must meet all of the following requirements: The application must create a variable for pounds (lbs) and convert it to kilograms (kg) then output the initial value and converted value. The application must create a variable for miles (mi) and convert it to kilometers (km) and then output the initial value and converted value. The application must create a variable for Fahrenheit (°F) and convert it to Celsius (°C) and then output the initial value and converted value. The application must calculate the average age of a group of 10 students then display the ages of all the students and the average age of the students. The application must output a multiline/regular string. The multiline/regular string will be a fantasy story based on what you will come up with, either based on an existing story or your own creation. The story must include 5 character names, equipment…arrow_forwardwrite 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))…arrow_forward
- Q5 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_forwardExercise 1: Oreo cookies PYTHON Check out the nutritional values of an Oreo cookie (Koppelingen naar een externe site.). Write code that does the following: calculate how much one Oreo cookie is concerning: calories, sodium, carbohydrate, fat create a user input that asks how much cookies you ate calculate how much calories, etc. you consumed warn the user that if he/she surpasses 2000kcal he/she should stop eating these darn delicious cookies use variables!arrow_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++ Programming: From Problem Analysis to Program...Computer ScienceISBN:9781337102087Author:D. S. MalikPublisher:Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
C++ Programming: From Problem Analysis to Program...
Computer Science
ISBN:9781337102087
Author:D. S. Malik
Publisher:Cengage Learning