Computer Science, asked by vedanshahuja19, 7 months ago


Using the switch statement, write a menu driven program to perform
following
operations:
(i) To Print the value of Z where
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
23
4 5 6
7 8 9 10
11 12 13 14 15

Answers

Answered by anil1486
0

Answer:

30 pages to print the Floyd's triangle

Similar questions