Best Fit Memory Allocation

/*Output Memory Management Scheme – Best Fit Enter the number of blocks:6 Enter the number of processes:5 Enter the size of the blocks:- Block no.1:50 Block no.2:100 Block no.3:500 Block no.4:200 Block no.5:300 Block no.6:600 Enter the size of the processes :- Process no.1:201 Process no.2:49 Process no.3:415 Process no.4:127 Process no.5:423 Process_no Process_size Block_no…… Continue reading Best Fit Memory Allocation

Calculator

/*Output Choice: 1.Addition 2.Subtraction 3.Multiplication 4.Division 5.Square 6.Square root 7.Cube 8.Logarithm 9.Exit 1 Enter 2 numbers 1 2 Addition is 3.000000 Choice: 1.Addition 2.Subtraction 3.Multiplication 4.Division 5.Square 6.Square root 7.Cube 8.Logarithm 9.Exit 2 Enter 2 numbers 6 5 Subtraction is 1.000000 Choice: 1.Addition 2.Subtraction 3.Multiplication 4.Division 5.Square 6.Square root 7.Cube 8.Logarithm 9.Exit 3 Enter 2…… Continue reading Calculator