Write a C program to find the biggest
Write a C program to find the biggest
#include <stdio.h>
int main() {
int n, i, max;
scanf("%d", &n);
int numbers[n];
scanf("%d", &numbers[i]);
max = numbers[0];
max = numbers[i];
return 0;
Output:
Enter 5 numbers:
3 12 7 19 5
#include <stdio.h>
int main() {
int n, i, j, temp;
scanf("%d", &n);
int arr[n];
scanf("%d", &arr[i]);
temp = arr[j];
arr[j + 1] = temp;
}
printf("\n");
return 0;
Output:
Enter 5 numbers:
34 12 56 23 1
#include <stdio.h>
int main() {
scanf("%d", &rows);
scanf("%d", &cols);
scanf("%d", &matrix[i][j]);
printf("Original Matrix:\n");
printf("\n");
printf("\n");
return 0;
Ouput:
123
456
Original Matrix:
123
456
14
25
36
#include <stdio.h>
int main() {
scanf("%d", &rows);
scanf("%d", &cols);
scanf("%d", &matrix1[i][j]);
{
for(j = 0; j < cols; j++)
scanf("%d", &matrix2[i][j]);
printf("\n");
return 0;
Output:
123
456
654
321
777
777