1-mustaqil ishi
Download 132.48 Kb.
|
Azizbek 1-mustaqil ishi
1-mustaqil ishi Qism dasturdan foydalanib matrisa ustida kuyidagi amallar bajarilsin: matrisani juft kator elementlarini ko‘paytmasi; tok kator elementlarini yigindisi; juft elementlardan eng kattasi. import java.util.Scanner; public class MustaqilIsh1 { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(), m = scanner.nextInt(); int[][] a = new int[n][m]; for(int i=0; i } } for(int i=0; i } System.out.println(); } for(int i=0; i for(int j=0; j kopaytma *= a[i][j]; } } System.out.println(i + " juft qator kopaytma " + kopaytma); } for(int i=0; i |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling