Below are two questions which are connected please show coding
for both questions and share screenshots of inputs and
outputs!!!
1. Write a program that will create a file and then
write n lines to the file. Each line will be the radian
value of the angle in degrees ranging from 0 to n. Ask the
user for n, and cap the range at 360 since data will just
repeat after that.
2. Open your file from DIN 1 for reading. Loop through the file
pulling out each angle line by line. Print out the Cosine for each
line. Open a second file to write the Cosine values to.
Below are two questions which are connected please show coding for both questions and share screenshots of inputs and ou
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Below are two questions which are connected please show coding for both questions and share screenshots of inputs and ou
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!