void thirdstudentInfo() 219 220 cout<<" cout<<" ."<
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
How do I Desk Check this?
I made a
![|"<cendl;
|"<<endl;
=======---===="<<endl;
cout<<"
enough; we must apply. Being willing is not enough; we must do. \"
-Leonardo da Vinci
214
215
cout<<"
216
cout<<"
217
218
219
void thirdstudentInfo()
220 - {
========="<<endl;
|"<<endl;
221
cout<<"
| NAME: Mayer, Dav.
| COURSE: Computer Engineering
| #: 20777084
| FAVORITE HOBBY: Playing computer games.
| FAVORITE SERIES: Sherlock Holmes
| FAVORITE MUSIC GENRE: Pop & R&B
| FAVORITE QUOTATION: \"Fear regret more than failure.\" -Taryn Rose
222
cout<<"
223
cout<<"
|"<<endl;
cout<<"
cout<<"
|"«<endl;
224
|"<cendl;
|"<<endl;
|"<<endl;
1"<<endl;
=="<<endl;
225
226
cout<<"
cout<<"
cout<<"
cout<<"
227
228
229
230
}
231
232
void fourthstudentInfo()
233 - {
234
cout<<"
===="<<endl;
| NAME: Mayer, Davy.
i COURSE: Computer Engineering
| #: 20860997
| FAVORITE HOBBY: Watching Netflix
| FAVORITE SERIES: Grey's Anatomy
FAVORITE DRINK: Iced Caramel Macchiato
i FAVORITE QUOTATION: \"When everything seems to be going against you, remember that
235
cout<<"
|"<<endl;
236
cout<<"
|"<<endl;
cout<<"
|"<<endl;
237
cout<<"
cout<<"
|"<<endl;
İ"««endl;
|"<<endl;
T"<<endl;
the airplane takes off against the wind not with it.\" -Henry Ford |"<<endl;
========"<<endl;
238
239
240
cout<<"
241
cout<<"
242
cout<<"
243
cout<<"
244
245
246
int main()
247 E {
char choice;
char infochoice;
char y, n, answer;
int steel, lumber, plywood, pvc, hBlock;
int jBox, ewire, CBreaker, eTape, fLamp;
int cement, bAn, sealant, gypsum, sand;
double cement2, bAn2, sealant2, gypsum2, sand2;
double steel2, lumber2, plywood2, pvc2, hBlock2;
double GTamount, NTamount, TAtax;
double jBox2, ewire2, cBreaker2, etape2, fLamp2;
248
249
250
251
252
253
254
255
256
257
258
displayHeader );
cout<<endl;
while (true)
259
260
261
262
displaychoices ();
263
cout<<endl;
cout<<"
264
265
Please enter the number you want to select:";
266
cin>>choice;
system ("CLS");
267](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fdc1d0395-f632-4f06-b87b-8a1ec9816d31%2F4056eb38-ddfe-47f9-a203-13295b859837%2Fz5jjt9o_processed.jpeg&w=3840&q=75)
Transcribed Image Text:|"<cendl;
|"<<endl;
=======---===="<<endl;
cout<<"
enough; we must apply. Being willing is not enough; we must do. \"
-Leonardo da Vinci
214
215
cout<<"
216
cout<<"
217
218
219
void thirdstudentInfo()
220 - {
========="<<endl;
|"<<endl;
221
cout<<"
| NAME: Mayer, Dav.
| COURSE: Computer Engineering
| #: 20777084
| FAVORITE HOBBY: Playing computer games.
| FAVORITE SERIES: Sherlock Holmes
| FAVORITE MUSIC GENRE: Pop & R&B
| FAVORITE QUOTATION: \"Fear regret more than failure.\" -Taryn Rose
222
cout<<"
223
cout<<"
|"<<endl;
cout<<"
cout<<"
|"«<endl;
224
|"<cendl;
|"<<endl;
|"<<endl;
1"<<endl;
=="<<endl;
225
226
cout<<"
cout<<"
cout<<"
cout<<"
227
228
229
230
}
231
232
void fourthstudentInfo()
233 - {
234
cout<<"
===="<<endl;
| NAME: Mayer, Davy.
i COURSE: Computer Engineering
| #: 20860997
| FAVORITE HOBBY: Watching Netflix
| FAVORITE SERIES: Grey's Anatomy
FAVORITE DRINK: Iced Caramel Macchiato
i FAVORITE QUOTATION: \"When everything seems to be going against you, remember that
235
cout<<"
|"<<endl;
236
cout<<"
|"<<endl;
cout<<"
|"<<endl;
237
cout<<"
cout<<"
|"<<endl;
İ"««endl;
|"<<endl;
T"<<endl;
the airplane takes off against the wind not with it.\" -Henry Ford |"<<endl;
========"<<endl;
238
239
240
cout<<"
241
cout<<"
242
cout<<"
243
cout<<"
244
245
246
int main()
247 E {
char choice;
char infochoice;
char y, n, answer;
int steel, lumber, plywood, pvc, hBlock;
int jBox, ewire, CBreaker, eTape, fLamp;
int cement, bAn, sealant, gypsum, sand;
double cement2, bAn2, sealant2, gypsum2, sand2;
double steel2, lumber2, plywood2, pvc2, hBlock2;
double GTamount, NTamount, TAtax;
double jBox2, ewire2, cBreaker2, etape2, fLamp2;
248
249
250
251
252
253
254
255
256
257
258
displayHeader );
cout<<endl;
while (true)
259
260
261
262
displaychoices ();
263
cout<<endl;
cout<<"
264
265
Please enter the number you want to select:";
266
cin>>choice;
system ("CLS");
267
![266
cin>>choice;
system ("CLS");
267
268
269
Switch (choice)
{
case '1':
270
271 -
272
273
bomConstruction ();
cout<cendl;
cout<cendl;
cout<«"Enter the (QTY) of materials"<<endl;
274
275
276
277
(QTY) : ";
278
cout<<"steel Bar
cin>>steel;
cout<<"Lumber Wood
279
280
(QTY) : ";
cin>>lumber;
cout<«"Plywood
cin>»plywood;
cout<<"PVC Pipe
cin>>pvc;
cout<<"Hollow Block
281
282
(QTY) : ";
283
284
(QTY) : ";
285
286
(QTY) : ";
cin>>hBlock;
cout<cendl;
287
288
289
steel2 = steel * 230;
lumber2 = lumber * 178;
plywood2 = plywood
pvc2 = pvc * 608;
hBlock2 = hBlock * 18;
GTamount = steel2 + lumber2 + plywood2 + pvc2 + hBlock2;
TAtax = GTamount * (e.12);
NTamount = GTamount - TAtax;
290
291
292
688;
293
294
295
296
297
298
displayTAtax();
cout<<fixed<<setprecision(2);
cout<<TAtax<cendl;
displayNTamount();
cout<<NTamount<cendl;
displayGTamount ();
cout<<GTamount;
299
зее
301
302
303
304
305
306
break;
307
з88
309
case '2':
310
bomElectrical();
cout<cendl;
cout<<endl;
cout<<"Enter the (QTY) of materials"<<endl;
cout<<"Junction Box
311
312
313
314
(QTY) : ";
315
316
cin>>jBox;
317
cout<<"Electrical Wire
(QTY) : ";
318
cin>>ewire;
319
cout<<"Circuit Breaker
(QTY) : ";](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fdc1d0395-f632-4f06-b87b-8a1ec9816d31%2F4056eb38-ddfe-47f9-a203-13295b859837%2Fqgsaotq_processed.jpeg&w=3840&q=75)
Transcribed Image Text:266
cin>>choice;
system ("CLS");
267
268
269
Switch (choice)
{
case '1':
270
271 -
272
273
bomConstruction ();
cout<cendl;
cout<cendl;
cout<«"Enter the (QTY) of materials"<<endl;
274
275
276
277
(QTY) : ";
278
cout<<"steel Bar
cin>>steel;
cout<<"Lumber Wood
279
280
(QTY) : ";
cin>>lumber;
cout<«"Plywood
cin>»plywood;
cout<<"PVC Pipe
cin>>pvc;
cout<<"Hollow Block
281
282
(QTY) : ";
283
284
(QTY) : ";
285
286
(QTY) : ";
cin>>hBlock;
cout<cendl;
287
288
289
steel2 = steel * 230;
lumber2 = lumber * 178;
plywood2 = plywood
pvc2 = pvc * 608;
hBlock2 = hBlock * 18;
GTamount = steel2 + lumber2 + plywood2 + pvc2 + hBlock2;
TAtax = GTamount * (e.12);
NTamount = GTamount - TAtax;
290
291
292
688;
293
294
295
296
297
298
displayTAtax();
cout<<fixed<<setprecision(2);
cout<<TAtax<cendl;
displayNTamount();
cout<<NTamount<cendl;
displayGTamount ();
cout<<GTamount;
299
зее
301
302
303
304
305
306
break;
307
з88
309
case '2':
310
bomElectrical();
cout<cendl;
cout<<endl;
cout<<"Enter the (QTY) of materials"<<endl;
cout<<"Junction Box
311
312
313
314
(QTY) : ";
315
316
cin>>jBox;
317
cout<<"Electrical Wire
(QTY) : ";
318
cin>>ewire;
319
cout<<"Circuit Breaker
(QTY) : ";
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY