continued.......
P19)write a program to get value of f(x)=x2+2x+3.Here, x is a variable.
solution
P20)Write a program to get total and percentage of a student whose marks in different subjects are given below.
solution
P19)write a program to get value of f(x)=x2+2x+3.Here, x is a variable.
solution
P20)Write a program to get total and percentage of a student whose marks in different subjects are given below.
subjects | marks |
---|---|
english | 45 |
maths | 65 |
physics | 45 |
chemistry | 45 |
P21)Write a program to get value of quadratic equation ax2+bx+c.Here, symbols have as usual meaning. (use simple method)
solution
P22)Write a program to convert number of days into year,months and days.
solution
P23)Write a program to convert number of seconds into hour,minutes and seconds.
solution
P24)write a program to know ascii value of entered character.
solution
solution
P22)Write a program to convert number of days into year,months and days.
solution
P23)Write a program to convert number of seconds into hour,minutes and seconds.
solution
P24)write a program to know ascii value of entered character.
solution