Write a C program to Find all possible permutations in which 'n' people can occupy 'r' seats in a theater August 18, 2020 Add Comment Edit Write a C program to Find all possible permutations in which 'n' people can occupy 'r' seats in a theater Program:-...
Write a C program to find the number of days in a given month of a given year August 18, 2020 Add Comment Edit 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 August 18, 2020 Add Comment Edit 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 August 18, 2020 Add Comment Edit 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 August 18, 2020 Add Comment Edit 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 August 18, 2020 Add Comment Edit 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 August 18, 2020 Add Comment Edit Write a C program to Convert Octal to Decimal number Program:- #include <stdio.h> #include <math.h> long int...
August 18, 2020 Add Comment Edit 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 August 18, 2020 Add Comment Edit 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 August 18, 2020 Add Comment Edit 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 August 18, 2020 Add Comment Edit 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 August 18, 2020 Add Comment Edit 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 August 18, 2020 Add Comment Edit 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 August 18, 2020 Add Comment Edit Write a C program to Print the Armstrong numbers between two intervals Program:- #include <stdio.h> #include <mat...
August 18, 2020 Add Comment Edit 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 August 18, 2020 Add Comment Edit 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 August 18, 2020 Add Comment Edit 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 August 18, 2020 Add Comment Edit 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 August 18, 2020 Add Comment Edit 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 August 18, 2020 Add Comment Edit 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 August 18, 2020 Add Comment Edit 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 August 18, 2020 Add Comment Edit 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 August 18, 2020 Add Comment Edit 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 August 18, 2020 Add Comment Edit 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 August 18, 2020 Add Comment Edit 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 August 18, 2020 Add Comment Edit 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 August 18, 2020 Add Comment Edit 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 August 18, 2020 Add Comment Edit 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 August 18, 2020 Add Comment Edit Write a C program to Check whether the number is armstrong or not Program:- #include #include int main() { int number,...