C++ Program to Add Two Given Numbers C++ Program to Add Two Given Numbers #include <iostream> using namespace std; int main() { int input1, […]
Read moreTag: programming
Write a Program in python to find the multiple of a number ( the divisor) out of given five numbers
Here’s a Python program to find the multiples of a given divisor out of five numbers provided by the user: def find_multiples(divisor, numbers):# Initialize a […]
Read moreBinary Search in C++
Binary Search in C++ Binary Search in C++ #include <iostream> #include <algorithm> using namespace std; int binary_search(int arr[], int size, int target) { int […]
Read moreWrite a program in python to check whether a number is prime or not.
Here’s a Python code to check if a given number is prime or not: def is_prime(n):if n <= 1:return Falseelif n <= 3:return Trueelif n […]
Read moreSecond Largest Element in an Array
Second Largest Element in an Array Second Largest Element in an Array #include <iostream> using namespace std; int main() { int arr[] = {1, […]
Read moreGetting started with Python
INTRODUCTION Python is a popular programming language. It was created by Guido van Rossum, and released in 1991.It is used for:web development (server-side),software development,mathematics,system script […]
Read moreC program to copy contents of one file to another file
#include <stdio.h> #include <stdlib.h> // For exit() int main() { FILE *fptr1, *fptr2; char […]
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 moreFind the day of the week you were born!
// Please enter your birthday in this // format(including spaces): // DD MM YYYY // 22 01 1997 #include <iostream> using namespace std; int […]
Read more
Recent Comments