Sunday 3 September 2017

First program : How to print 'hello world' c&c++

c program 


next<<

c++ program 

// is used for single line comment
/*---------*/is used for multiple line comment 



1 comment:

  1. here i am using dev c++ compiler for both. u can use turbo c++
    for any queries comment below

    ReplyDelete

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=...