clrscr;

  1. A

    [C++] Need help in calculation of more than 2 numbers

    I've made this Calculator which can only calculate for 2 inputs only. How should I write the program, so that, the user can give multiple inputs and the calculation is performed? /* Work of Ashrith Babu Rao, XII Email: a5hr1th.mb@gmail.com (c) 2008 */ #include <iostream.h>...
  2. nikhil ramteke

    simple c++ program

    watch the following code:- #include<conio.h> #include<iostream.h> int main() { int c=0,a=0,b=0; clrscr(); cout<<"c="<<c++<<"\n"; cout<<"c="<<c<<"\n"; b=a++ +c++ +c++; cout<<"a="<<a<<"\n"; cout<<"b="<<b <<"\n"; cout<<"c="<<c; getch(); return 0; } o/p:- c=0 c=1 a=1 b=2 c=3 plz tell...
Top Bottom