1) Prompt the user to input the marks of Physics, Chemistry, Maths & English out of hundred. Double the marks of each subject and then print new marks on screen. Also show the sum of all the new marks out of 800 and then the old marks out of 400.
2) Create four variables for subjects of your choice, with some initial values out of 100. Calculate the sum and print marks out of 400 in a good format.
Comments
Leave a comment