Welcome to ICSE Java Answers. Ask any questions you have related to Java and we will answer them.
Java is a registered trademark of Oracle. This site is in no way related to or endorsed by Oracle.

Menu driven program - Print value of x, Floyds triangle

0 votes
Question 7. Using the switch statement, write a menu driven program to perform following  operations:  (i) To Print the value of Z where Z = x3+0.5 x y where x ranges from – 10 to 10 with  an increment of 2 and Y remains constant at 5.5. (ii) To print the Floyds triangle with N rows  Example: If N = 5, Output: 1  2 3  4 5 6 7 8 9 10 11 12 13 14 15
asked by anonymous
edited by Ranjith

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.