Ad Code

Random,Recent,Label Widget

random/hot-posts

Advertisement

Recent posts

Show more
write a program in c++ to print the sum of two numbers using variables

write a program in c++ to print the sum of two numbers using variables #include<iostream.h> #include<conio.h> void main() { clrscr(); int a,b, sum; cout<<"Please enter any two numbers"<<<<e…

 My First C++ Program

My First C++ Program #include<iostream.h> void main() { cout<< "Welcome!"; cout<< "This is my first Program using C++"; } =========================================== Output: Welcome! This is…

Write a program to display even numbers from 30 to 10 in reverse order using C++

#include<iostream.h> #include<conio.h> void main() { clrscr(); int n; for(n=30;n>=10;n=n-2) { cout<<n<<endl; } getch(); }

Write a program to display N natural numbers and their sum using FOR loop in C++

#include <iostream> using namespace std; int main() {     int n,i,sum=0;     cout << "\n\n Display n terms of natural number and their sum:\n";     cout << "--------------------------------------…

Write a program to display the terms and sum of the following series:  1+4+7+10+13+16+ 19 +22 using c++

Write a program to display the terms and sum of the following series:  1+4+7+10+13+16+ 19 +22  #include <iostream> using namespace std; int main() { cout << "1 + 4 + 7 + 10 + 13 + 16 + 19 + 22 = " << 1…

Write a multiplication table Program up to a given range Using C++

Write a multiplication table Program up to a given range Using C++ Display multiplication table up to a given range #include <iostream> using namespace std; int main() {     int n, range;     cout << "Enter an in…

Write a program to generate the multiplication table for an entered number up to 15 using C

//multiplication table up to 10 #include <stdio.h> void main(){ int n ,k ,ini t=1; printf("\nMultiplication of : "); scanf("%d", &n); printf("\nUpto ::");scanf("%d",&k); whil…

Load More That is All