Tuesday, September 27, 2011

(VU-Study-Corner) Re: (Attock VU Group) Degree

need help in C programing assignment.

1-

Write a prog which take user subject marks from the user and calculate the obtained marks i.e sum of all subjects and percentage by using formula

percentage = obtained marks/400 * 100.

display all subjects marks, marks obtained and percentage on screen.


2-

write a prog which take a and b from user using type float and calculate the formula

D= (a-b)(square on bracket) (a+b)(square on bracket) / 2

Display the results on screen

3-

Write a prog which take 3 integers from user and calculate the following formula
s = a(cube)+b(cube) * C  / 4

4-

write a prog which take radius of a circle from the user and calculate the circumfrence of circle by formula

circumference = 2 (payi) r

where pie = 3.14

--
Join us at facebook: https://www.facebook.com/VU.Study.Corner
 
Group Link: http://groups.google.com/group/VU-Study-Corner?hl=en
 
Group Rules: http://groups.google.com/group/VU-Study-Corner/web/group-rules
 
Unsubscribe: VU-Study-Corner+unsubscribe@googlegroups.com
 
Adult contents, Spamming, Immoral & Rudish talk, Cell number, Websites & Groups links specially in paper days are strictly prohibited and banned in group.

No comments:

Post a Comment