Computer Science, asked by arunrak03, 6 months ago

Question:
Write a program to find the maximum difference between two adjacent numbers in an array of positive
integers​

Answers

Answered by shriyakodesia2005
1

Answer:

int arr[] = { 2, 7, 9, 5, 1, 3, 5 };

int n = sizeof(arr) / sizeof(arr[0]);

printf("The maximum difference is %d", diff(arr, n));

return 0;

}

Explanation:

HOPE THIS HELPS YOU

PLEASE MARK MY ANSWER AS BRAINIEST ANSWER

THANK YOU ❤️

Similar questions