[Solved] C program that prompts for and reads a 2D-array Of size 3 * 5 rowise

$25

File Name: C_program_that_prompts_for_and_reads_a_2D_array_Of_size_3___5_rowise.zip
File Size: 640.56 KB

SKU: [Solved] C program that prompts for and reads a 2D-array Of size 3 * 5 rowise Category: Tag:
5/5 - (1 vote)

5/5 – (1 vote)

Write an interactive C program that prompts for and reads a 2D-array Of size 3 * 5 rowise, it then calls a function getRowNum that prompts for and reads a row number and then it returns that row number, say n, if it is a valid for the array; otherwise it loops until the user enters a valid row number.

The main function then passes the returned row number n and the 2D-array to a function distinctRowElements that returns a ID-array which contains the distinct elements Of row n Of the 2D-array together with the number of distinct elements in that row. The main function finally displays the returned array of distinct elements.

Note:

Your program must use appropriate loops.

The array reading must be done in the main and not in another function.

Shopping Cart
[Solved] C program that prompts for and reads a 2D-array Of size 3 * 5 rowise[Solved] C program that prompts for and reads a 2D-array Of size 3 * 5 rowise
$25