MTRX1702 Lecture 1: MTRX1702, lec 1 Assignment 1-Trigonometric-Calculator

117 views4 pages

Document Summary

You are required to write a program that calculates and displays values of the trigonometric functions sine, cosine, and tangent for user-supplied angular values. The basic program must comply with the following specification: when the program is run, it is to display a short welcome message. Trig: the trigonometric calculator: the program shall display a message prompting the user to enter input from the keyboard. Please input request (h-help, q-quit): the following help message shall be displayed whenever the user types the letter h at the input prompt. The input format is a single line of letters and numbers comprising the following fields: These fields must be input in the order shown above, where is a set of letters, and the others are single numbers defining the range of computation. The field consists of zero or more of the letters from the set.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents