Create a program generate the Fibonacci Sequence and compute for the
corresponding sum based on the generated sequences.
Sample output:
Enter how many: 5
Fibonacci Sequence: 1 1 2 3 5
Sum of Sequence: 12
Create a program that will implement a method Factorial and return a double
number based on any supplied argument.
Create a program that will implement methods such as Min (int n1, int n2, int n3)
and Max (int x1, int x2, int x3). The two (2) methods must return an integer smallest (Min)
and integer largest (Max) based on any supplied arguments upon calling.
Create a program that will accept inputs into a 20-element one-dimensional integer
array CountArray. Your program should count the odd and even numbers that appeared in
the list of accepted values.
Write a program named ArrayDemo that stores an array of 10 integers. int[] numbers = {7, 6, 3, 2, 10, 8, 4, 5, 9, 1}
Until the user enters a sentinel value, allow the user four options:
(1) to view the list in order from the first to last position in the stored array
(2) to view the list in order from the last to first position (without permanently changing in order of the array)
(3) to choose a specific position to view
(4) to quit the application.
Yes, use the num array given above.
Inside, include your name and a description of what the program does and how to use it, as well as pertinent comments. Use meaningful variable names. Put your name in the project name and in the name of the .cs file. Failure to do these things will result in my not grading your submission.
In C#, please.
Enter number of elements [Max=50] for Array MyUDA1D: 12
Enter value for MyUDA1D [0]: 1
Enter value for MyUDA1D [1]: 12
Enter value for MyUDA1D [2]: 10
Enter value for MyUDA1D [3]: 3
Enter value for MyUDA1D [4]: 5
Enter value for MyUDA1D [5]: 6
Enter value for MyUDA1D [6]: 2
Enter value for MyUDA1D [7]: 4
Enter value for MyUDA1D [8]: 7
Enter value for MyUDA1D [9]: 8
Enter value for MyUDA1D [10]: 9
Enter value for MyUDA1D [11]: 11
------------------------------------------------
Minimum value = 1
Maximum value = 12
Total number of odd number/s = 6
Total number of even number/s = 6
Total number of deficient number/s = 10
Total number of efficient number/s = 1
Total number of perfect numbers = 1
Total number of prime number/s = 5
Total number of composite number/s = 6
------------------------------------------------
Sorted Values
Ascending Order = 1 2 3 4 5 6 7 8 9 10 11 12
Descending Order = 12 11 10 9 8 7 6 5 4 3 2 1
In C#, please.
Create a program that will accept 25 inputs into integer array Task2DArray and
compute for the sum and difference of all the elements.
In C#, please.
Create a program that will accept inputs into 6x6 36-element two-dimensional
integer array Int2D6x6Array. Your program should count the duplicate numbers appeared
in the list of accepted values. Moreover, you are also tasked to display the duplicate
numbers that appeared in the list.
In C#, please.
Create a program that will accept inputs into 5x5 25-element two-dimensional
integer array Count2D5x5Array. Your program should count the odd and even numbers
that appeared in the list of accepted values.
In C# please.
Create a program that will accept inputs into 25-element one-dimensional integer
array IntArray. Your program should count the duplicate numbers appeared in the list of
accepted values. Moreover, you are also tasked to display the duplicate numbers that
appeared in the list.