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 moreCategory: c++
Swapping 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 moreFind factorial of a number in C++
Find factorial of a number in C++ Find factorial of a number in C++ #include <iostream> using namespace std; int main() { int n; […]
Read morePATTERN PRINTING -2 in C++
PATTERN PRINTING -2 in C++ PATTERN PRINTING -2 in C++ STAR TRIANGLE #include<iostream> using namespace std; int main() { int n; cout<<“enter n : “; […]
Read morePattern Printing -1 in C++
Pattern Printing -1 in C++ Pattern Printing -1 in C++ NUMBER SQUARE #include<iostream> using namespace std; int main(){ int n; cout<<“Enter a number : “; […]
Read moreC++ Factorial Program
C++ Factorial Program C++ Factorial Program #include<iostream> #include<math.h> using namespace std; int fact(int n){ Β Β int number=1; Β Β for(int i=n;i>=1;i–){ Β […]
Read moreDecimal To Binary in C
Decimal To Binary in C Decimal To Binary in C Question: Write a C program to convert a Decimal number to Binary number. […]
Read moreC++ FIRST PROGRAM
C++ FIRST PROGRAM C++ FIRST PROGRAM #include<iostream.h> using namespace std; int main () { cout<<“Hello World !”; return 0; } […]
Read moreC++ FIRST PROGRAM
C++ FIRST PROGRAM C++ FIRST PROGRAM #include<iostream> using namespace std; int main () { cout<<“hello world”; return; } Topics Covered […]
Read moreSum and Average of an Array
Sum and Average of an Array Sum and Average of an Array Code : #include<stdio.h> int main(){ Β Β int n; Β Β int sum=0; […]
Read more
Recent Comments