1. Write a C++ program which prints using + the first 3 letters of your last name. For instance, if your last name is Hendricks you will print HEN as follows HEN .. 2. Write a C++ program with the...


1. Write a C++ program which prints using + the first 3 letters of your last name. For instance,<br>if your last name is Hendricks you will print HEN as follows<br>HEN<br>..<br>2. Write a C++ program with the main() function as follows:<br>- ask the user Enter numbers for temperature in Kelvin:<br>- use the formula<br>.k – 459.67<br>to compute the corresponding temperature in Fahrenheit degrees<br>- print a message of the sort 300 degrees Kelvin = 80.33 degrees Fahrenheit<br>3. Write a C++ program as follows:<br>- write the function double distance( double x1, double y1, double x2, double y2 )<br>which takes 4 parameters for the coordinates of 2 points<br>compute and returns the distance between the 2 points (71, y1) and (x2, Y2) (using the<br>Pythagorean Theorem)<br>d = V(11 – 12)² + (y1 – 42)²<br>write the main() function with a while loop where<br>-<br>- ask the user Enter 4 numbers at a time x1 y1 x2 y2:<br>- use the function distance to compute and print the corresponding distance<br>

Extracted text: 1. Write a C++ program which prints using + the first 3 letters of your last name. For instance, if your last name is Hendricks you will print HEN as follows HEN .. 2. Write a C++ program with the main() function as follows: - ask the user Enter numbers for temperature in Kelvin: - use the formula .k – 459.67 to compute the corresponding temperature in Fahrenheit degrees - print a message of the sort 300 degrees Kelvin = 80.33 degrees Fahrenheit 3. Write a C++ program as follows: - write the function double distance( double x1, double y1, double x2, double y2 ) which takes 4 parameters for the coordinates of 2 points compute and returns the distance between the 2 points (71, y1) and (x2, Y2) (using the Pythagorean Theorem) d = V(11 – 12)² + (y1 – 42)² write the main() function with a while loop where - - ask the user Enter 4 numbers at a time x1 y1 x2 y2: - use the function distance to compute and print the corresponding distance

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here