Purchase Solution

File Access and Trigonometric Sine Function in C++

Not what you're looking for?

Ask Custom Question

Construct a random file of the sines of all angles from 0 degrees to 90 degrees. Make each entry accurate to three places. Write a program that will display the sine of any angle typed on the keyboard.

Purchase this Solution

Solution Summary

In this solution you will learn
a) how to create a random access file and write information into it
b) calculate a trigonometric function, for example, calculate sine of all angles from 0 to 90 degrees
c) display sine of any angle typed on the keyboard

Purchase this Solution


Free BrainMass Quizzes
Basic Networking Questions

This quiz consists of some basic networking questions.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.