## C Program to Add two Numbers

Given two numbers A and B. The task is to write a program to find the addition of these two numbers. Examples: Input: A =… Read More »

Given two numbers A and B. The task is to write a program to find the addition of these two numbers. Examples: Input: A =… Read More »

Given a positive integer . The task is to write a C program to check if the number is prime or not. Definition: A prime… Read More »

Given a number n, we need to check if it can be expressed as 2x + 2y or not . Here x and y can… Read More »

Given values of A and B, find the minimum positive integer value of X that can be achieved in the equation X = P*A +… Read More »

Given a decimal number N. The task is to find 10’s complement of the number N. Input : 25 Output : 10’s complement is :… Read More »

Modular programming is the process of subdividing a computer program into separate sub-programs. A module is a separate software component. It can often be used… Read More »

The computer systems can be classified on the following basis: 1. On the basis of size. 2. On the basis of functionality. 3. On the… Read More »

Given a list of integers, the task is to generate another list with N minimum elements. Examples: Input: {23, 1, 6, 2, 90} Output: {1,… Read More »

Given two numbers and . The task is to subtract from by using 2’s Complement method. Note: Negative numbers represented as 2’s Complement of Positive… Read More »

Given a number N. The task is to write a program to find the N-th term in the below series: 1, 1, 2, 3, 4,… Read More »

There are two main types of software: systems software and application software. Systems software includes the programs that are dedicated to managing the computer itself,… Read More »

For starters, everyone needs to know about the benefits of cyber safety and why it is essential for every internet user. Cyber safety or Internet… Read More »

Given a number N represented as a string The task is to print ‘Yes’ if the sum of digits is even and is divisible by… Read More »

Given a string str. The task is to check whether it is a binary string or not. Examples: Input: str = “01010101010” Output: Yes Input:… Read More »

Given coordinates of bottom-left and top-right corners of a rectangle. Check if a point (x, y) lies inside this rectangle or not. Examples: Input: bottom-left:… Read More »