Posts

To accept marks of five subject and display pass or fail ( if pass display Percentage too).

    Answer: - Step 1: Start Step 2: Accept mark of Nepali and store in Nepali Step 3: Accept mark of Computer and store in Computer Step 4: Accept mark of Social and store in Social Step 5: Accept mark of Math’s and store in Maths Step 6: Accept mark of Science and store in Science Step 7: Check Is Nepali greater than equal to 40 AND Computer greater than equal to 40 AND Social greater than equal to 40 AND Maths greater than equal to 40 AND Science greater than equal to 40 If Yes: Calculate Pass percentage and store in PP Display “You are Pass and Your Percentage “PP If No: Display “Your FAILED” Step 8: End

To accept marks of five subject and display pass or fail.

Answer: - Step 1: Start Step 2: Accept mark of Nepali and store in Nepali Step 3: Accept mark of Computer and store in Computer Step 4: Accept mark of Social and store in Social Step 5: Accept mark of Math’s and store in Maths Step 6: Accept mark of Science and store in Science Step 7: Check Is Nepali greater than equal to 40 AND Computer greater than equal to 40 AND Social greater than equal to 40 AND Maths greater than equal to 40 AND Science greater than equal to 40 If Yes: Display “Your Pass” If No: Display “Your FAILED” Step 8: End

To accept marks of five subject and display percentage.

    Answer: - Step 1: Start Step 2: Accept mark of Nepali and store in Nepali Step 3: Accept mark of Computer and store in Computer Step 4: Accept mark of Social and store in Social Step 5: Accept mark of Math’s and store in Maths Step 6: Accept mark of Science and store in Science Step 7: Calculate average marks obtain and store in AMO Step 8: Display “Average Marks Obtain is” AMO Step 9: End

To accept marks of five subject and display average marks obtain.

Answer: - Step 1: Start Step 2: Accept mark of Nepali and store in Nepali Step 3: Accept mark of Computer and store in Computer Step 4: Accept mark of Social and store in Social Step 5: Accept mark of Math’s and store in Maths Step 6: Accept mark of Science and store in Science Step 7: Calculate average marks obtain and store in AMO Step 8: Display “Average Marks Obtain is” AMO Step 9: End

To accept marks of five subject and display total marks obtain.

Answer: - Step 1: Start Step 2: Accept mark of Nepali and store in Nepali Step 3: Accept mark of Computer and store in Computer Step 4: Accept mark of Social and store in Social Step 5: Accept mark of Math’s and store in Maths Step 6: Accept mark of Science and store in Science Step 7: Calculate total obtain marks and store in TOM Step 8: Display “total Obtain Marks is” TOM Step 9: End

To accept cost price and selling price and display profit or loss amount with percentage too.

Answer: - Step 1: Start Step 2: Accept cost price and store in CP Step 3: Accept selling price and store in SP Step 4: CP greater than SP             If Yes: Calculate profit and store in Profit                         Calculate profit percentage and store in ProfitPer                         Display “Profit “Profit                         Display “Profit Percentage “ProfitPer             If No: Calculate Loss and store in Loss               ...

To accept cost price and selling price and display only profit or loss.

Answer: - Step 1: Start Step 2: Accept cost price and store in CP Step 3: Accept selling price and store in SP Step 4: SP greater than CP             If Yes: Display “Profit”             If No: Display “Loss” Step 5: End