Wednesday, 17 October 2018
Saturday, 13 October 2018
Friday, 5 October 2018
Wednesday, 3 October 2018
Sum of two numbers in C++
CODE:
#include<iostream>
using namespace std;
int main()
{
cout<<"Enter a Number"<<endl;
int a,b;
cin>>a;
cout<<"Enter a Number"<<endl;
cin>>b;
int sum = a + b;
cout<<"sum of"<<a<<" + "<<b<<" ="<<sum;
return 0;
}
OUTPUT:
#include<iostream>
using namespace std;
int main()
{
cout<<"Enter a Number"<<endl;
int a,b;
cin>>a;
cout<<"Enter a Number"<<endl;
cin>>b;
int sum = a + b;
cout<<"sum of"<<a<<" + "<<b<<" ="<<sum;
return 0;
}
OUTPUT:
Tuesday, 2 October 2018
New iPhone XS 2018 features and specifications
The iPhone XS and XS Max pack 5.8in and 6.5in OLED screens, respectively, while The "low-end" XR features a 6.1in LCD 'Liquid Retina' screen.
iphone XS looks:
PRICE IDEA:
iphone XS looks:
PRICE IDEA:
how to increase blog traffic for free
- The most successful content is that which fulfils the need of Users.
- Think about your target audience and what they really searching.
- Content should Attract the audience.
- Try to use the most appropriate keywords to rank your articles.
- Share your blog link on the social media groups and make pages of related topics.
- Focus on writing long term content like episode wise.
- Always use appropriate visual content to have attention of user.
how to print a table of any number entered by user in C++
#include<iostream>
using namespace std;
int main()
{
cout<<"Enter a Number"<<endl;
int a;
cin>>a;
cout<<a <<" * 1 = "<<a*1<<endl;
cout<<a <<" * 2 = "<<a*2<<endl;
cout<<a <<" * 3 = "<<a*3<<endl;
cout<<a <<" * 4 = "<<a*4<<endl;
cout<<a <<" * 5 = "<<a*5<<endl;
cout<<a <<" * 6 = "<<a*6<<endl;
cout<<a <<" * 7 = "<<a*7<<endl;
cout<<a <<" * 8 = "<<a*8<<endl;
cout<<a <<" * 9 = "<<a*9<<endl;
cout<<a <<" * 10 = "<<a*10<<endl;
return 0;
}
using namespace std;
int main()
{
cout<<"Enter a Number"<<endl;
int a;
cin>>a;
cout<<a <<" * 1 = "<<a*1<<endl;
cout<<a <<" * 2 = "<<a*2<<endl;
cout<<a <<" * 3 = "<<a*3<<endl;
cout<<a <<" * 4 = "<<a*4<<endl;
cout<<a <<" * 5 = "<<a*5<<endl;
cout<<a <<" * 6 = "<<a*6<<endl;
cout<<a <<" * 7 = "<<a*7<<endl;
cout<<a <<" * 8 = "<<a*8<<endl;
cout<<a <<" * 9 = "<<a*9<<endl;
cout<<a <<" * 10 = "<<a*10<<endl;
return 0;
}
Subscribe to:
Comments (Atom)


