1 x 10
2 x 5
Well, honey, the number of arrays you can make out of 20 really depends on how you slice it. Technically, you can make 20 arrays of size 1, 10 arrays of size 2, 5 arrays of size 4, or 1 array of size 20. So, you've got options, darling. Just pick your poison and get slicing!
To use arrays to show breaking apart for the product of 18 and 12, you can first decompose one of the numbers, such as 12, into smaller, more manageable parts, like 10 and 2. Then, create two separate arrays: one with 18 rows and 10 columns, and another with 18 rows and 2 columns. By calculating the area of each array (18 × 10 = 180 and 18 × 2 = 36) and then adding the two products together (180 + 36), you find the total product of 18 and 12, which is 216.
205 + 10 + 10
Arrays of chars are strings. there is a built in librray, that handles string string.h but the data-type is held as arrays of chars. char[10] c="string"; translate to ['s','t','r','i','n','g',\0] Arrays of chars are strings. there is a built in librray, that handles string string.h but the data-type is held as arrays of chars. char[10] c="string"; translate to ['s','t','r','i','n','g',\0]
10 x 5?
53.3 = 533/10 Since 533 and 10 share no common factors, this is fully reduced.
Yes. int main(void){ int a[10]; int i=0; while(i<10 && a[i++]=i); return 0; }
example in C: const int a [] = {10, 20, 40, 80};
10 x 4, 4 x 10, 8 x 5, 5 x 8
1, 2, 5, 10, 25, 50.
34
1, 2, 5, 10, 25, 50