Write a code segment that will read in a sequence of numbers…

Write a code segment that will read in a sequence of numbers,  as many numbers as the user wishes to enter, and then prints to the screen one number that is the total of all the numbers entered.  Be sure to create any variables needed in the code segment.Write a code segment that will read in a sequence of numbers,  as many numbers as the user wishes to enter, and then prints to the screen one number that is the total of all the numbers entered.  Be sure to create any variables needed in the code segment.

Write a function definition that accepts two floating point…

Write a function definition that accepts two floating point values from the calling program (arguments) that represent the length and width of a rectangle and print to the screen the area of the rectangle. This function does not return a value.  The function should be named print_area.