How do I Desk Check this? I made a program using DEV C++ but I do not know how to code this.
How do I Desk Check this? I made a program using DEV C++ but I do not know how to code this.
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 program using DEV C++ but I do not know how to code this.
![TAtax = GTamount (e.12);
NTamount = GTamount
370
371
TAtax;
372
displayTAtax();
cout<<fixed<<setprecision(2);
cout<«TAtax<cendl;
displayNTamount();
cout<<NTamount«endl;
displayGTamount();
cout<<GTamount;
break;
373
374
375
376
377
378
379
380
381
382
383
case '4':
384
385
cout<<"
**CREATORS' INFORMATION**"<<endl;
cout<<endl;
cout<cendl;
cout<<"
386
387
[1] Mayer, John"<<end%;
[2] Mayer, Johny"<<endl;
[3] Mayer, Dav"<<endl;
[4] Mayer, Davy"<<endl;
[5] All creators"<<endl;
BES
388
389
cout<<"
390
cout<<"
391
cout<<"
392
cout<<"
cout<cendl;
cout<cendl;
393
394
cout<<"
Please enter the number of the creator:";
395
396
cin>>infochoice;
system ("CLS");
397
398
399
400
if (infochoice == '1')
401
402
cout<<"
**CREATOR INFORMATION**";
cout<<endl;
cout<<endl;
firststudentInfo();
break;
403
404
405
406
407
else if (infochoice == '2')
{
cout<<"
408
409
410
**CREATOR INFORMATION**";
cout<cendl;
cout<<endl;
secondstudentInfo();
break;
411
412
413
414
415
416
else if (infochoice == '3')
{
cout<<"
417
418
**CREATOR INFORMATION**";
cout<<endl;
cout<<endl;
thirdstudentInfa();
break;
419
420
421
422
423](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fdc1d0395-f632-4f06-b87b-8a1ec9816d31%2F3c9112ed-bd09-4df7-b42c-9b75acc62d7a%2Ffdvvsld_processed.jpeg&w=3840&q=75)
Transcribed Image Text:TAtax = GTamount (e.12);
NTamount = GTamount
370
371
TAtax;
372
displayTAtax();
cout<<fixed<<setprecision(2);
cout<«TAtax<cendl;
displayNTamount();
cout<<NTamount«endl;
displayGTamount();
cout<<GTamount;
break;
373
374
375
376
377
378
379
380
381
382
383
case '4':
384
385
cout<<"
**CREATORS' INFORMATION**"<<endl;
cout<<endl;
cout<cendl;
cout<<"
386
387
[1] Mayer, John"<<end%;
[2] Mayer, Johny"<<endl;
[3] Mayer, Dav"<<endl;
[4] Mayer, Davy"<<endl;
[5] All creators"<<endl;
BES
388
389
cout<<"
390
cout<<"
391
cout<<"
392
cout<<"
cout<cendl;
cout<cendl;
393
394
cout<<"
Please enter the number of the creator:";
395
396
cin>>infochoice;
system ("CLS");
397
398
399
400
if (infochoice == '1')
401
402
cout<<"
**CREATOR INFORMATION**";
cout<<endl;
cout<<endl;
firststudentInfo();
break;
403
404
405
406
407
else if (infochoice == '2')
{
cout<<"
408
409
410
**CREATOR INFORMATION**";
cout<cendl;
cout<<endl;
secondstudentInfo();
break;
411
412
413
414
415
416
else if (infochoice == '3')
{
cout<<"
417
418
**CREATOR INFORMATION**";
cout<<endl;
cout<<endl;
thirdstudentInfa();
break;
419
420
421
422
423
![cout<<"circuit Breaker
cin>>cBreaker;
cout<<"Electrical Tape
cin»>етаре;
cout<<"Fluorescent Tube Lamp (QTY) : ";
cin>>fLamp;
cout<cendl;
319
(QTY) : ";
320
321
(QTY) : ";
322
323
324
325
326
jBox2 = jBox * 32;
ewire2 = ewire 25;
327
328
329
CBreaker2 = CBreaker
350e;
eTape2 = eTape * 5e;
fLamp2 = fLamp
GTamount = jBox2 + ewire2 + CBreaker2 + eTape2 + fLamp2;
TAtax = GTamount * (e.03);
NTamount = GTamount - TAtax;
330
331
278;
332
333
334
335
displayTAtax();
cout<<fixed<<setprecision(2);
cout<<TAtax<endl;
displayNTamount ();
cout<<NTamount<<endl;
displayGTamount();
cout<<GTamount;
break;
336
337
338
339
340
341
342
343
344
345
346
case '3':
{
bomManufacturing();
cout<cendl;
cout<cendl;
cout<<"Enter the (QTY) of materials"<<endl;
cout<<"Cement
347
348
349
350
351
352
(QTY) : ";
353
cin>>cement;
354
cout<<"Bolts and Nuts
(QTY) :
cin>>bAn;
cout<<"Sealant
355
356
(QTY) : ";
cin>>sealant;
cout<<"Milled Gypsum
cin>>gypsum;
cout<<"Fine sand
357
358
(QYT) : ";
359
360
(QTY) : ";
cin>>sand;
cout<cendl;
361
362
363
cement2 = cement 26e;
ban2 - bAn * 25;
sealant2 = sealant 735;
364
365
366
367
gypsum2 = gypsum
sand2 = sand * 700;
GTamount = cement2 + bAn2 + sealant2 + gypsum2 + sand2;
TAtax = GTamount * (e.12);
NTamount = GTamount
35;
368
369
370
371
TAtax;
372](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fdc1d0395-f632-4f06-b87b-8a1ec9816d31%2F3c9112ed-bd09-4df7-b42c-9b75acc62d7a%2F7s2c8gi_processed.jpeg&w=3840&q=75)
Transcribed Image Text:cout<<"circuit Breaker
cin>>cBreaker;
cout<<"Electrical Tape
cin»>етаре;
cout<<"Fluorescent Tube Lamp (QTY) : ";
cin>>fLamp;
cout<cendl;
319
(QTY) : ";
320
321
(QTY) : ";
322
323
324
325
326
jBox2 = jBox * 32;
ewire2 = ewire 25;
327
328
329
CBreaker2 = CBreaker
350e;
eTape2 = eTape * 5e;
fLamp2 = fLamp
GTamount = jBox2 + ewire2 + CBreaker2 + eTape2 + fLamp2;
TAtax = GTamount * (e.03);
NTamount = GTamount - TAtax;
330
331
278;
332
333
334
335
displayTAtax();
cout<<fixed<<setprecision(2);
cout<<TAtax<endl;
displayNTamount ();
cout<<NTamount<<endl;
displayGTamount();
cout<<GTamount;
break;
336
337
338
339
340
341
342
343
344
345
346
case '3':
{
bomManufacturing();
cout<cendl;
cout<cendl;
cout<<"Enter the (QTY) of materials"<<endl;
cout<<"Cement
347
348
349
350
351
352
(QTY) : ";
353
cin>>cement;
354
cout<<"Bolts and Nuts
(QTY) :
cin>>bAn;
cout<<"Sealant
355
356
(QTY) : ";
cin>>sealant;
cout<<"Milled Gypsum
cin>>gypsum;
cout<<"Fine sand
357
358
(QYT) : ";
359
360
(QTY) : ";
cin>>sand;
cout<cendl;
361
362
363
cement2 = cement 26e;
ban2 - bAn * 25;
sealant2 = sealant 735;
364
365
366
367
gypsum2 = gypsum
sand2 = sand * 700;
GTamount = cement2 + bAn2 + sealant2 + gypsum2 + sand2;
TAtax = GTamount * (e.12);
NTamount = GTamount
35;
368
369
370
371
TAtax;
372
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