Program to Print Multiplication Table in C++ Program to Print Multiplication Table in C++ #include<iostream> using namespace std; int main(){ int number; cout<< “Enter the number for printing multiplication table”<< endl; cin >>number; // printing the multiplication number for(int i=1; i<11; i++){ cout<< number <<” X “ << i <<” = “<< number*i <<endl; } […]
Read moreTag: c programming
Inline Function in C++
Inline Function in C++ Inline Function in C++ Definition: An inline function is a function that is expanded in line when it is invoked. […]
Read moreAccess Specifiers in C++
Access Specifiers in C++ Access Specifiers in C++ Access specifier used to implement an important aspect of OOPs known as data hiding . Access […]
Read moreProgram To Find Simple Interest
Program To Find Simple Interest Program To Find Simple Interest #include<iostream> using namespace std; int main() { float P , R , T […]
Read moreFind the Sum of all Elements in Given Array
Find the Sum of all Elements in Given Array Find the Sum of all Elements in Given Array include <iostream> using namespace std; int […]
Read moreC++ Program to Add Two Given Numbers
C++ Program to Add Two Given Numbers C++ Program to Add Two Given Numbers #include <iostream> using namespace std; int main() { int input1, […]
Read moreFind the largest number among three number in C++
Find the largest number among three number in C++ Find the largest number among three number in C++ #include <iostream> using namespace std; int […]
Read moreREVERSE A NO IN C++
REVERSE A NO IN C++ REVERSE A NO IN C++ #include<iostream> using namespace std; int main(){ int n; cin>>n; int reverse=0; […]
Read moreSwapping of two numbers in C++
Swapping of two numbers in C++ Swapping of two numbers in C++ Swapping of two numbers : #include <iostream> using namespace std; int main() […]
Read moreProgram to concatenate two string without using strcat
#include <stdio.h> int main() { // Get the two Strings to be concatenated char str1[100] = “Good”, str2[100] = “morning”; […]
Read more
Recent Comments