0

C program help

How to find minimum number of square plots in a rectangle.... where length and breath of the rectangle is given during run time... All the squares plots must be of same dimensions.... Ex: If you take a rectangle of dimension 4X6.... there can be 6 squares

11th Jan 2018, 8:26 AM
Md Saif
Md Saif - avatar
5 Réponses
11th Jan 2018, 8:58 AM
emmey
emmey - avatar
0
it should be always 0
11th Jan 2018, 8:40 AM
shobhit
shobhit - avatar
0
can u give me in terms of a C program...!!
12th Jan 2018, 3:43 PM
Md Saif
Md Saif - avatar
0
honestly I have about 3000 problems with psuedo code saved and that was one of the links I had bookmarked. I personally read alot but I am not that advanced in my lessons yet. So code for this in C I do not have. Use the C++ version and break the classes into functions. And research what is there in C++ and what it would convert to in C. Also if you try and fail still post your code. If you make an attempt even if it is way bad, people will help you fix it. You have to try and post the code though.
12th Jan 2018, 6:10 PM
emmey
emmey - avatar
0
Ohh...then sure Thank you for your help... I will surely post coz I've been spending a lot of time in it...!!!
12th Jan 2018, 6:18 PM
Md Saif
Md Saif - avatar