mirror of
https://github.com/ASDjonok/OOP_IO-2x_2023.git
synced 2026-04-21 21:34:35 +03:00
Compare commits
39 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4be9e7b1ba | |||
| d1e20c015c | |||
| ad7b0175ba | |||
| c62613c975 | |||
| c95a243c84 | |||
| 63b1b6f62b | |||
| 1c68762d9d | |||
| ba82b49508 | |||
| ee35a832b9 | |||
| 7e652a976c | |||
| 15685384a7 | |||
| e6620839bd | |||
| f136101a3b | |||
| 59fb75ce32 | |||
| b9570d75f8 | |||
| ae0f85c8d6 | |||
| 96dd638e66 | |||
| 61760443a5 | |||
| 8b517d136f | |||
| 9813f75326 | |||
| 8ae3907d24 | |||
| a011fc41cf | |||
| 4454d46284 | |||
| 4d70c6a51e | |||
| 8db686fac0 | |||
| a48fb7d41f | |||
| 09f2114de6 | |||
| 828dedc3b6 | |||
| 41b6eb063c | |||
| bb2c8bd1a0 | |||
| 88a618647d | |||
| f4fccadb7b | |||
| fb4c2404f7 | |||
| 86940aa666 | |||
| 1e368a1324 | |||
| 559b03336e | |||
| 0a7521af40 | |||
| 0b51a1a491 | |||
| f54eee595c |
@@ -1,2 +0,0 @@
|
||||
# Project exclude paths
|
||||
/out/
|
||||
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
|
||||
public class Laba2
|
||||
{
|
||||
|
||||
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
const int a = 2;
|
||||
int[][] b = new[]
|
||||
{
|
||||
new int[] { 1, 2, 8 },
|
||||
new int[] { 3, 4, 5 },
|
||||
new int[] { 6, 7, 9 }
|
||||
};
|
||||
calculation(b, a);
|
||||
}
|
||||
|
||||
private static int[][] calculation(int[][] b, int a)
|
||||
{
|
||||
int[][]c = new int[b.Length][b[0].Length]; //недопустимий специфікатор рангу: вимагається "," або "]";
|
||||
for (int i = 0; i < b.Length; i++)
|
||||
{
|
||||
c[i] = new int[b[i].Length];
|
||||
for (int j = 0; j < b[i].Length; j++)
|
||||
{
|
||||
c[i][j] = b[i][j] * a;
|
||||
}
|
||||
}
|
||||
return c;
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
Reference in New Issue
Block a user