+ 25
๐๐#Challenge on calculating Hardware requirements for particular system in particular VM-Machine.
โ โ ๐ฃ๐ฃ๐๐#Challenge#๐๐๐ฃ๐ฃโ โ ## problem on hardware requirement for a particular system. bob has n-GB RAM PC.He install VM-Machine and he wants to install Virtual-RAM on VM-Machine that is X% of his total system Available RAM.how much RAM he used from his available System RAM to maintain this criteria. help bob to done this. All language accepted Test-case: input: n=4 X=35% possible output: RAM partition should be: in Bit:12,02,59,08,428.8 in Byte:1,50,32,38,553.6 in KB:14,68,006.4 in MB:1433.6 in GB:1.4
5 Answers
+ 16
thank you all for participating!!
+ 15
Here's in C:
https://code.sololearn.com/cpmSJ655jw0y/#c
+ 12
welcome @@raz
๐๐
+ 5
thank you Asif for choosing my answer, and thanks for the fun challenge ๐