Write a C# program to answer about the statistical information such as arithmetic mean, median, mode, and standard deviation of an integer data set.
Write a C# program to answer about the statistical information such as arithmetic mean, median, mode, and standard deviation of an integer data set.
This example shows you how to calculate the factorial of a small integer.
factorial of a number n is the result of multiplying n*(n-1)*(n-2)*...*1
you will learn how to use (*=) operator
fibonacci
* write a program that read a number N then calculate the summation of thr first n numbers of sequence of fibonacci series that's defined as : 1,1,2,3,5,8,13,....
* Input :5
summation
* write a program that reads 2 integers N,X and calculate
* Sum=1+1!/x+2!/x^2+.....+n!/X^n
* you will learn how to use loops in summation calculation and functions
*
happy numbers
* print all four digit numbers in format ABCD where A+B=C+D (known as happy numbers)like 1342
* you will learn how to write a nested if statements
*
Write a function which returns true if the string parameter is a palindrome. A palindrome is any "word" which is the same forward and backward, eg, "radar", "noon", "20011002",
To "capitalize" a string means to change the first letter of each word in the string to upper case (if it is not already upper case)
Input :
Now is the time to act!
Output :
Given a string, count the number of words ending in 'y' or 'z' -- so the 'y' in "heavy" and the 'z' in "fez" count, but not the 'y' in "yellow" (not case sensitive).
this example shows you what is Array co-variance (assigning objects of type B to an array of type A given A is the parent of B) and how it's implemented
it's an example to show you how to declare jagged array ,assign values to it and finally shows you how to use foreach statement .