>a; cout<<"Enter second number:"; cin>>b; sum=a+b; cout< Download presentation Presentation is loading. Please wait. Published byManuel Almeida
Modified over 5 years ago
1
Name: Muhammad Hassan VU-ID: BC140401205 Version: Office 2007
2
Programe code : #include<iostream.h> main(){ int a,b,sum;
3
Screen shoot of output :
Similar presentations © 2024 SlidePlayer.com. Inc. Log in
Name: Muhammad Hassan VU-ID: BC Version: Office 2007
Similar presentations
Presentation on theme: "Name: Muhammad Hassan VU-ID: BC Version: Office 2007"— Presentation transcript:
Cs201 (1st )assignment Name: Muhammad Hassan VU-ID: BC Version: Office 2007
cout<<" My VU ID: BC "<<endl<<endl; cout<<"Enter first number:"; cin>>a; cout<<"Enter second number:"; cin>>b; sum=a+b; cout<<endl; cout<<"Sum of numbers:"<<sum<<endl<<endl; cout<<" "<<endl; system("pause"); }
Similar presentations
All rights reserved.