Create a class Circle having a data member radius. The class should be capable of calculating the area. Compare the areas of two circles and also displaying the area of which circle is greater. Make all the necessary function as needed including constructors.
Write a program of static data memeber
Sum of prime numbers in the input
1- Write a program to demonstrate static variables, methods, and blocks.
2- Write a program in C# Sharp to create a user define function.
3- Write a program in C# Sharp to create a user define function with parameters.
4- Write a program in C# Sharp to create a function to display the n number Fibonacci
sequence.
5- Write a program in C# Sharp to create a function to calculate the sum of the
individual digits of a given number.
Enter a number: 1234
Expected Output:
The sum of the digits of the number 1234 is: 10
6- Write a program to calculate the roots of Quadratic equations using encapsulation.
7- Write a program for calculating Matrix Operations.
1. Addition.
2. Multiplication.
Implement the following functions. The functions return a real number:
(a) Function Celsius returns the Celsius equivalent of a Fahrenheit temperature ((32°F − 32) ×
5/9 = 0°C).
(b) Function Fahrenheit returns the Fahrenheit equivalent of a Celsius temperature.
((0°C × 9/5) + 32 = 32°F)
In main call both functions and ask user to input value of temperature and print its equivalent.
1- Write a program to demonstrate static variables, methods, and blocks.
2- Write a program in C# Sharp to create a user define function.
3- Write a program in C# Sharp to create a user define function with parameters.
4- Write a program in C# Sharp to create a function to display the n number Fibonacci sequence.
5- Write a program in C# Sharp to create a function to calculate the sum of the individual digits of a given number. Enter a number: 1234 Expected Output: The sum of the digits of the number 1234 is: 10.
6- Write a program to calculate the roots of Quadratic equations using encapsulation.
7- Write a program for calculating Matrix Operations. 1. Addition. 2. Multiplication
1 Write a program to demonstrate static variables, methods, and blocks.
2 Write a program in C# Sharp to create a user define function.
3 Write a program in C# Sharp to create a user define function with parameters.
4 Write a program in C# Sharp to create a function to display the n number Fibonacci
sequence.
5 Write a program in C# Sharp to create a function to calculate the sum of the
individual digits of a given number.
Enter a number: 1234
Expected Output:
The sum of the digits of the number 1234 is: 10
6 Write a program to calculate the roots of Quadratic equations using encapsulation.
7 Write a program for calculating Matrix Operations.
1. Addition.
2. Multiplication.
Given an integer N as input, write a program to print a number diamond of 2*N 1 rows as shown below. Note: There is a space after each number. Input The first line of input is an integer N . Explanation In the given example, the number of rows in the diamond is 5 . So, the output should be Sample Input 1 5 Sample Output 1 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 1 2 3 4 1 2 3 1 2
Write a C# console app that will input a text file of numbers. For these numbers, find the number of numbers (one per line), the largest of these numbers, the smallest of these number, and the average of these numbers.
Also determine the number of numbers in the range 00000 - 09999, 10000 - 199999, 20000 - 29999, etc. all the way through 90000 - 99999.
write a program print of all anti diagonals element of matrix