Create a C program that would solve the problems below: C:\Users\Ana\Documents\Codeblocks\lab3a.exe 1. Using only variables a and b, create a c program that will swap the contents of these two...


Create a C program that would solve the<br>problems below:<br>C:\Users\Ana\Documents\Codeblocks\lab3a.exe<br>1. Using only variables a and b, create a c<br>program that will swap the contents of these<br>two variables. (use arithmetic expressions)<br>Enter value for a: 12<br>Enter value for b: 6<br>AFTER SWAP<br>The value of a = 6<br>The value of b = 12<br>2. A particular type of packing carton costs P<br>2.50 per square foot at the bottom and the<br>sides, and P 5.00 per square foot for the top.<br>Write a program to calculate the cost of such<br>a shipping crate if the user supplies the<br>carton dimensions.<br>CAUsers\Ana\ Documents\Codeblocks\lab3b.exe<br>Enter carton dimensions separated by space (L W H): 4 5 6<br>The of shipping crate = 420.00000e<br>

Extracted text: Create a C program that would solve the problems below: C:\Users\Ana\Documents\Codeblocks\lab3a.exe 1. Using only variables a and b, create a c program that will swap the contents of these two variables. (use arithmetic expressions) Enter value for a: 12 Enter value for b: 6 AFTER SWAP The value of a = 6 The value of b = 12 2. A particular type of packing carton costs P 2.50 per square foot at the bottom and the sides, and P 5.00 per square foot for the top. Write a program to calculate the cost of such a shipping crate if the user supplies the carton dimensions. CAUsers\Ana\ Documents\Codeblocks\lab3b.exe Enter carton dimensions separated by space (L W H): 4 5 6 The of shipping crate = 420.00000e

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here