00:01
Hello student, here is the algorithm pseudocode flowchart and the java source code for the program that estimate the weight of the khufu's pyramid in giza.
00:09
So here algorithm is first we have to define the two variable one is num block number of the blocks in the pyramid that is num block variable and the block weight of the each block in the tons.
00:20
So calculate the total weight of the pyramid by multiplying both these num block and the block weights and display the weight of the pyramid.
00:28
So this is the algorithm.
00:30
Now i will go for the pseudocode.
00:32
Pseudocode will be first initialize the num block to 2500000.
00:42
So 25 lakh and after this initialize the block weight this is the per block and it's 2 .5.
00:49
Now calculate the total weight when i multiply these two terms i will get the total weight.
00:55
Now i have to display the weight in the formatted way that pyramid weight then weight and weight will become in the tons.
01:02
So tons calculation will be done and now i have written this the flowchart.
01:07
So here i will first start and then for input i have to use parallelogram.
01:13
So initialize num block to 25 lakh and initialize the weight 2 .5.
01:20
Now calculate total weight as num block...