Finding a 2x2 platform in a matrix with a maximal sum of its element.
You will learn how to declare a 2-d array ,assign value to it and get its lengths(vertical and horizontal)
Finding a 2x2 platform in a matrix with a maximal sum of its element.
You will learn how to declare a 2-d array ,assign value to it and get its lengths(vertical and horizontal)
Get from user the width and the height of a rectangle and calculate its area.
the example will show u how to use float.parse() function and casting .
Read an integer from the user then check if this number is odd or even using ternary operator.
obtain 4 float values from the user and display the product of them. the example will show you how to use float.parse() function and casting .
This is an example of how to convert data from type to another.
There are two types of conversions:
This is an example of how to assign values to different data types (primitive data types).
Rray that founds the values if found .... that are saved defaultly
we can alos read from the keybord(user values )
Write a c# program that converts a number in the range [0...999] to a text corresponding to its English pronunciation. Examples:
0 "Zero"
273 "Two hundred seventy three"