Help.java 1.5KB

123456789101112131415161718192021222324252627282930313233
  1. public class Help
  2. {
  3. public void help(){
  4. }
  5. public static String text(){
  6. return "To add 2 numbers: input \"add\"\n" +
  7. "To subtract 2 numbers: input \"subtract\"\n" +
  8. "To mulitply 2 numbers: input \"multiply\"\n" +
  9. "To divide 2 numbers: input \"divide\"\n" +
  10. "To find the square of a number: input \"square\"\n" +
  11. "To find the square root of a number: input \"square root\"\n" +
  12. "To raise one number to the power of another: input \"exponent\"\n" +
  13. "To find the inverse value of a number: input \"inverse\"\n" +
  14. "To invert a number from positive to negative: input \"invert\"\n" +
  15. "To find the sine of an angle: input \"sin\"\n" +
  16. "To find the cosine of an angle: input \"cos\"\n" +
  17. "To find the tangent of an angle: input \"tan\"\n" +
  18. "To find the cotangent of an angle: input \"cot\"\n" +
  19. "To find the secant of an angle: input \"sec\"\n" +
  20. "To find the cosecant of an angle: input \"csc\"\n" +
  21. "To find the inverse sine of an angle: input \"arcsin\"\n" +
  22. "To find the inverse cosine of an angle: input \"arccos\"\n" +
  23. "To find the inverse tangent of an angle: input \"arctan\"\n" +
  24. "To choose radians or degrees, when prompted input:\"radians\" or \"degrees\"\n" +
  25. "To choose a different display, input display type \"decimal\", \"binary\", \"hexidecimal\" or \"octal\"\n"
  26. ;
  27. }
  28. }