Question: Lab 16 For Loop with Lists Purpose: In this lab you will use for loops to iterate over a range, calculating squares and cubes. Learning
Lab 16 For Loop with Lists Purpose: In this lab you will use "for" loops to iterate over a range, calculating squares and cubes. Learning Objectives: Use for loops Lab Materials: Computer with Visual Studio installed. Procedure: Write a CH program that will use a "for loop to a table, Write a program that will ask the user for the radius and angle of a sector or slice of a circle. Enter the angle in degrees. Create a table that will output the radius and the area. Vary the radius from 1 to the radius entered. Area = 2* radius2" @ O is the angle in radians Deliverables: Please submit a document with your lab results in the appropriate format. For Python programs, this is the.py file. For C++ this is a CPP file. (See lab submission document). Remember that a document without a name will receive a grade of O. Python programs without the proper comments will receive a 0. Please name your file based on lab submission rules. Upload the document to the drop box. O 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
