You are on page 1of 2

Question 1: You are tasked with developing a program in C++ to calculate the circumference of a

circle given its radius. However, the requirement is to provide the circumference with a specific
precision, where the precision is defined as the number of decimal places after the decimal point. For
example, if the radius is 5.2 and the precision required is 2, the program should output the
circumference as 32.99.

Question 2: You are working on a data analysis project that involves processing a large dataset
containing measurements of physical quantities. The dataset is stored in a text file, with each line
representing a measurement in the format "quantity unit". For example, "10.25 meters" or "5.5
kilograms".

You might also like