Question: 01. (4 points) Write C# assignment statement (a single statement) to calculate the volume of a sphere. The formula for determining the volume v of
01. (4 points) Write C# assignment statement (a single statement) to calculate the volume of a sphere. The formula for determining the volume v of a sphere is: V = (4.0/3) where r is the radius of sphere and x = 3.1416 Q2. (5 points) Write a single CH assignment statement that converts temperature in degrees Fahrenheit to degrees Celsius. The formula for conversion is Celseus = 5.0/9.0 (Fahrenheit - 32). Q3. (5 points) Write a C++ assignment (or statements) for following algebraic equation x1 = -b+02-4ac 2a 1. (10 points) Determine the output of the following program as it will appear on console int main() // a program illustrating integer truncation int num1, num2; numl = 9/2; num2 = 17/4; cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
