fgfhgj


SUBMITTED BY: Darshil

DATE: June 27, 2016, 8:18 a.m.

FORMAT: C++

SIZE: 328 Bytes

HITS: 932

  1. #include <iostream>
  2. using namespace std;
  3. // Variable declaration:
  4. extern int a, b;
  5. extern int c;
  6. extern float f;
  7. int main ()
  8. {
  9. // Variable definition:
  10. int a, b;
  11. int c;
  12. float f;
  13. // actual initialization
  14. a = 10;
  15. b = 20;
  16. c = a + b;
  17. cout << c << endl ;
  18. f = 70.0/3.0;
  19. cout << f << endl ;
  20. return 0;
  21. }

comments powered by Disqus