Saturday, March 21, 2015

Simple Program on C



#include 
void main ()
 {
  int i,j,k;
 
  i=10; j=20; k=30;
  cin >> i >> j >> k;
  cout << i << endl << j << endl << k << endl;
}
 
/** Sample runs
 
1 2 3
1
2
3
 
1234.56 7 89
1234
20
30
 
**/
 
 
 

No comments:

Post a Comment