Computer Science, asked by Helloitsmekart, 11 months ago

Hi can anyone help me with some programs in C language?

2. Write a program that accomplishes the following:
- reads from the keyboard the n elements of a string a [], positive real numbers, written with 2 decimals;
- displays the elements of the string a [], two on a line;- forms a new string b [], with integer elements, so that each element in the string b [] represents the whole part of the element having the same index, from the string a [];
- forms a string c [], with integer elements. Each element in the string c [] corresponds to the decimal part at he element of the same index in the string a [], written as an integer (decimal part x 100);
- displays the strings a [] , b [] and c [] on three adjacent columns .

3. Consider a rectangular matrix, with m rows and n columns.
- Determine and display the minimum element of the matrix and its position, given by the line number and the column number.
- Form a string containing all the elements of the matrix that are divisible by the minimum element. Display the obtained string. (If the minimum element has a value of zero, the program stops after determining and displaying it).

Thank you!

Answers

Answered by kumariharshita828
0

Answer:

itna big question yrr...

......

Answered by bsjaura22
1

Answer:

thats your answer dear

Explanation:

mark as brilliant✌️✌️

Attachments:
Similar questions