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...
icon
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
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
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
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
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…
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)
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
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY