Page 1 :
PROGRAMMING ASSIGNMENTS, , , , , , 1. Write a program to, gra rea estat 5, ead the marks of 5 subjects through the keyboard. Find out the, , aggregate and percentage, p age of marks obtained by the student. Assume maximum marks that, , co be obtained by a student in eac subject as 100,, 2. Write a program to read a four-digit n niber board and calculate the s\, Aree a, , : : igit number through the keyboard and calculate the sum, , 3. Write a program to read nd p: Ie, ead the distance betwe, : : Liste en any two cities in kilometer (km) a, distances in meters (m), centimeters (cm)and miles. ieee, , Note: 1 km = 1000 meter, 1km = 100000 centimeter, 1 km = 0.6213 miles, , 4. Waka Pen to read the weight of an object in kilogram and print its weight in pound, , Note: 1 kg = 2.20 pound, 1 kg = 0.001 tonne, , 5. Read a distance in meters and a time in seconds through the keyboard. Write a program to, calculate the speed of a car in meter/second., , Note Speed See, , Time, , 6. Write a program to read the radius of a sphere from the user and calculat, sphere. ., , Note: Volume of sphere = 4/3*3.14"r?, , 7. An ATM contains Indian currency notes of, AIM, the user has to enter the number of, 500 and 1000. Write a program to calculate, the ATM in rupees., , e the volume of the, , f 100, 500 and 1000. To withdraw cash from this, notes he/she wants of each currency, ie. of 100,, the total amount withdrawn by the person from