#Logic Building Challenge

1 messages · Page 1 of 1 (latest)

hot yoke
#

Day 2 of logic building challenge. I started this yesterday with the aim to develop my logic building. I was able to complete the part of finding Mean and Median by yesterday but just finding multiple mode and storing it correctly in the text file was a real headache. I was able to finish it with the help of resources and snippet available online related to what I am making. The college program felt easy as similar question were discussed during lecture but when I started making something which needs the implementation of everything I have learnt so far, it was really difficult. But I am not gonna stop, because it's fun to code

near night
#

Damn! What is the code about? Is it a problem you solved?

soft flume
#

Great job. But for calculating mean,median and mode stuffs I have seen people using only Python

hot yoke
hot yoke
#

One after another a issue is coming. Like it's working but then i discover that I miss to include one or more calculation cases. Now the latest issue/not issue (idk what to say) is when I use fprintf, the value is printed which is right but not accurate. Using fprintf I am getting 652.000000
But when I use printf I get 652.500000 which is accurate. Idk how to get precise value printed into the file.