Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Im using C. Someone please give me a code that would print these things Here is an example input from Sile input 3.txt 11. Examples
Im using C. Someone please give me a code that would print these things
Here is an example input from Sile input 3.txt 11. Examples of input and output Here are some examples of input and output for the above program code. 1 meters 1.6 3.4 Here is an example input from file input1.txt. For the above example input, here is the expected output Enter number of pairs of points and units. Reading data for 1 squares with units meters. 4 inches 1.5 2.5 2.5 3.5 2.4 1.4 4.1 1.2 Square 1: width: 1.60 meters Height: 3.40 meters area: 5.46 square meters For the above example input, here is the expected output Here is an example input from file input 4.txt Enter number of pairs of points and units. Reading data for 4 squares with units inches. miles For the above example input, here in the expected to Square #1: width: 1.50 inches Height: 2.50 inches Area: 3.75 square inches Enter number of pairs of points and units. Reading data for squares with units miles. Square #2: width: 2.50 inches Height: 3.50 inches Area: 8.75 square inches Square #3: width: 2.40 inches Height: 1.40 inches Area: 3.36 square inches square #4: width: 4.10 inches Height: 1.20 inches Area: 4.92 square inches Here is an example input from file input2.txt 2 feet 2.1 3.2 0.5 4.0 For the above example input, here is the expected output. Enter number of pairs of points and units. Reading data for 2 squares with units feet. Square #1: width: 2.19 feet Height: 3.20 feet Area: 6.72 square feet Square #2: width: 0.5e feet Height: 4.00 feet Area: 2.00 square feet Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started