Subscribe to:
Post Comments (Atom)
Nested If-else : To find the roots of quadratic equation ax2+bx+c=0 and a!=0
let ax 2 +bx+c=0 : is a quadratic equation output: Enter the values of a,b,c : 1 -5 6 roots are x1=3 x3=...
-
output : enter marks in 3 subjects : 90 60 30 first division In the above program we can also use if statement in th...
-
let ax 2 +bx+c=0 : is a quadratic equation output: Enter the values of a,b,c : 1 -5 6 roots are x1=3 x3=...
-
In this program, we first enter a number (say 10). Then check the condition (10%2) . If it gives result zero(0) , then then it prints th...
No comments:
Post a Comment