Write a C program to Find all possible permutations in which 'n' people can occupy 'r' seats in a theater Program:-...
Home
Archive for
August 2020
Write a C program to find the number of days in a given month of a given year
Write a C program to find the number of days in a given month of a given year Program:- #include<stdio.h> int main()...
Write a C program to convert a given number to words
Write a C program to convert a given number to words Program:- #include <stdio.h> #include <string.h> void co...
Write a C program to find the quadrant in which the given coordinates lie
Write a C program to find the quadrant in which the given coordinates lie Program:- #include <stdio.h> int main() {...
Write a C program to find the maximum number of handshakes
Write a C program to find the maximum number of handshakes Program:- #include int main() { //fill the code int num; ...
Write a C program to Convert a number from octal to binary
Write a C program to Convert a number from octal to binary Program:- #include <stdio.h> #include <math.h> lo...
Write a C program to Convert Octal to Decimal number
Write a C program to Convert Octal to Decimal number Program:- #include <stdio.h> #include <math.h> long int...
Write a C program to Convert a number from binary to octal Program:- #include <stdio.h> #include <math.h> in...
Write a C program to Convert decimal to octal number
Write a C program to Convert decimal to octal number Program:- #include <stdio.h> #include <math.h> int deci...
Write a C program to Convert a number from decimal to binary
Write a C program to Convert a number from decimal to binary Program:- #include <stdio.h> long int decimal_to_binary...
Write a C program to Convert the given Binary Number into Decimal
Write a C program to Convert the given Binary Number into Decimal Program:- #include <stdio.h> #include <math.h...
Write a C Program to replace all 0's with 1 in a given integer
Write a C Program to replace all 0's with 1 in a given integer Program:- #include<stdio.h> int replace(long int...
Write a C program to Check whether a number can be expressed as a sum of two prime numbers
Write a C program to Check whether a number can be expressed as a sum of two prime numbers Program:- #include <stdio.h...
Write a C program to Print the Armstrong numbers between two intervals
Write a C program to Print the Armstrong numbers between two intervals Program:- #include <stdio.h> #include <mat...
Write a C program to Find prime numbers in a given range Program:- #include <stdio.h> int main() { int a, b, i, fl...
Write a C program to Find the possible number of decodings of a given digit sequence
Write a C program to Find the possible number of decodings of a given digit sequence Program:- #include <stdio.h> ...
Write a C program to Finding all the roots of a quadratic equation
Write a C program to Finding all the roots of a quadratic equation Program:- #include <stdio.h> #include <math.h...
Write a C Program to find the number of integers with exactly 9 divisors
Write a C Program to find the number of integers with exactly 9 divisors Program:- #include int count_no_of_divisors(int n...
Write a C program to Find the number of times digit 3 occurs in each and every number from 0 to n
Write a C program to Find the number of times digit 3 occurs in each and every number from 0 to n Program:- #include <st...
Write a C program to Add two fractions
Write a C program to Add two fractions Program:- #include <stdio.h> int main() { int a, b,c,d,x,y,i,gcd; printf(“...
Write a C program to Finding factors of a number
Write a C program to Finding factors of a number Program:- #include <stdio.h> int main() { int num; printf(“\nEn...
Write a C program to Finding power of a number
Write a C program to Finding power of a number Program:- #include <stdio.h> #include <math.h> int main() { ...
Write a C program to check whether a number is Abundant number or not
Write a C program to check whether a number is Abundant number or not Program:- #include<stdio.h> int main() { //f...
Write a C program to Check whether a number is Harshad number or not
Write a C program to Check whether a number is Harshad number or not Program:- #include<stdio.h> int main() { //f...
Write a C program to Check whether a number is Automorphic number or not
Write a C program to Check whether a number is Automorphic number or not Program:- #include<stdio.h> bool isAutomor...
Write a C program to find if the given numbers are Friendly pair(Amicable) or not
Write a C program to find if the given numbers are Friendly pair or not Program:- #include<stdio.h> int main() { //f...
Write a C program to Check whether a given number is perfect number or not
Write a C program to Check whether a given number is perfect number or not Program:- #include<stdio.h> int main() ...
Write a C Program to check if a given number is a strong number or not
Write a C Program to check if a given number is a strong number or not Program:- #include<stdio.h> int main() { i...
Write a C program to Check whether the number is armstrong or not
Write a C program to Check whether the number is armstrong or not Program:- #include #include int main() { int number,...
Subscribe to:
Posts
(
Atom
)