Recent Articles

Sum of Digits in a Number 4 weeks ago
The program must accept an integer
Output: Explanation:
Output: The below video explains the logic and the implementation in C programming language to find the sum of digits in a number. |

Half Pyramid Pattern Printing 4 weeks ago
The program must accept an integer
Output:
Output: The below video explains the logic and the implementation in C programming language to print the half pyramid pattern for a given value of N. |

Print Vowels in a String 1 month ago
The program must accept a string
Output: Explanation:
Output: The below video explains the logic and the implementation in C programming language to print all the vowels in a given string. |

Armstrong Number 1 month ago
The program must accept an integer
Output: Explanation:
Output: Explanation: The below video explains the logic and the implementation in C programming language to check if the given number is an Armstrong number or not. |

Largest among N Values 1 month ago
The program must accept
Output: Explanation:
Output: The below video explains the logic and the implementation in C programming language to find the largest among N values. |

Right Angled Triangle or Not 1 month ago
The program is to accept three sides of a triangle and check if the triangle is a right angled triangle or not.
Output:
Output: The below video explains the logic and the implementation in C programming language to check if the given triangle is a right angled triangle or not. |

C program to print last three bits of an integer 4 months ago
The below C program prints the last three bits of an integer passed as the input.
View |

Free SkillRack Practice Programs 8 months ago
Are you looking to start campus placement preparation? We have picked Please click the link below to solve the programs in Please click the link below to solve the programs in Please click the link below to solve the programs in Please click the link below to solve the programs in Please click the link below to solve the programs in Please click the link below to solve the programs in Please click the link below to solve the programs in Please click the link below to solve the programs in Please click the link below to solve the programs in Please click the link below to solve the programs in |

Printing N terms in Fibonacci series 8 months ago
The program must accept an integer
Output:
Output: The below video explains the logic and the implementation in C programming language to print N terms in the Fibonacci series. |

Selection Sort in C Programming language 8 months ago
View |

Must Solve 100 Programs for Campus Placement Part - 10/10 8 months ago
The program must accept an integer N as the input. The program must print the sum of even digits in the integer N as the output.
Output:
Output: Click the link below to solve this program
The program must accept two string values S1 and S2 as the input. The program must print the string having the maximum length as the output. If both the string values having the same length then print both the string values in the given order as the output.
Output: Click the link below to solve this program
The program must accept N unique integers and an integer X as the input. The program must print all the integers right to the integer X (inclusive of X) as the output.
Output: Click the link below to solve this program
The program must accept N integers and an integer K as the input. The program must print the last K integers among the N integers as the output.
Output: Click the link below to solve this program
The program must accept an integer N as the input. The program must print the desired pattern as shown in the Example Input/Output section.
Output: Click the link below to solve this program
The program must accept an integer N as the input. The program must print the desired pattern as shown in the Example Input/Output section.
Output: Click the link below to solve this program
Output: Click the link below to solve this program
The program must accept an odd integer N and a character CH as the input. The program must print the desired pattern as shown in the Example Input/Output section.
Output: Click the link below to solve this program
Output: Click the link below to solve this program
Output: Click the link below to solve this program |

Must Solve 100 Programs for Campus Placement Part - 9/10 8 months ago
The program must accept a string S as the input. The program must print the first two characters in S and then print the last two characters in S as the output.
Output:
Output: Click the link below to solve this program
The program must accept two integers as the input. The program must sort the two integers in ascending order based on their unit digit and print them as the output. If the unit digits are same then sort the two integers in descending order and print them as the output.
Output:
Output: Click the link below to solve this program
The program must accept two integers X and Y as the input. The program must print the first 10 multiples of X and Y as the output.
Output: Click the link below to solve this program
The program must accept N integers as the input. The program must print all the even integers among the N integers in reverse order as the output. If there is no even integer then the program must print -1 as the output.
Output:
Output: Click the link below to solve this program
The program must accept two integers X and Y as the input. The program must print all the digits from the unit digit of X to the unit digit of Y as the output.
Output:
Output: Click the link below to solve this program
The program must accept a string S with space as the input. The program must print the string without any space as the output.
Output:
Output: Click the link below to solve this program
The program must accept two string values S1 and S2 as the input where the length of S2 is always 2. The program print the number of occurrences of the string S2 in S1 as the output.
Output:
Output: Click the link below to solve this program
The program must accept an integer N as the input. The program must print all the odd digits of N in reverse order as the output. If there is no odd digit in N then the program must print -1 as the output.
Output:
Output: Click the link below to solve this program
The program must accept a fraction X/Y as the input. The program must invert the fraction and print the result with the precision up to two decimal places as the output.
Output: Explanation:
Output: Click the link below to solve this program
The program must accept N integers as the input. The program must print the sum of integers having the unit digit as 3 or 6 as the output. If there is no such integer then the program must print -1 as the output.
Output:
Output: Click the link below to solve this program |

Must Solve 100 Programs for Campus Placement Part - 8/10 8 months ago
The program must accept an integer N as the input. The program must print the sum of the last three digits of N as the output.
Output:
Output: Click the link below to solve this program
The program must accept N integers and an integer X as the input. The program must print the (X-1)th integer. Then the program must print the Xth integer. Then the program must print the (X+1)th integer.
Output: Click the link below to solve this program
The program must accept N integers and an integer M as the input. The program must print yes if M is present in the N integers. Else the program must print no as the output.
Output: Click the link below to solve this program
The program must accept a string S as the input. The program must reverse the string S and print it as the output.
Output:
Output: Click the link below to solve this program
The program must accept a string S and an integer X as the input. The program must print all the consonants in the first X characters of S as the output. If there is no consonant in the first X characters of S then the program must print -1 as the output.
Output:
Output: Click the link below to solve this program
The program must accept a lower case alphabet CH as the input. The program must print the previous alphabet and the next alphabet of CH as the output.
Output:
Output: Click the link below to solve this program
The program must accept three integers as the input. The program must print the sum of the smallest integer and the largest integer as the output.
Output:
Output: Click the link below to solve this program
The program must accept a string S as the input. The program must remove all the special characters (other than the alphabets and digits) from the string S. Then the program must print the modified string S as the output.
Output:
Output: Click the link below to solve this program
Accept two integers X and Y as the input and print all the integers from the smallest integer to the largest integer as the output.
Output:
Output: Click the link below to solve this program
Accept a string S as the input and print all the vowels in S as the output. If there is no vowel in S then the program must print -1 as the output.
Output:
Output: Click the link below to solve this program |

Must Solve 100 Programs for Campus Placement Part - 7/10 8 months ago
The program must accept a string S of length 5 as the input. The program must print the first character once, the second character two times, the third character three times, the fourth character four times and the fifth character five times as the output.
Output: Click the link below to solve this program
The program must accept two integers N1 and N2 as the input. The program must print the desired pattern as shown in the Example Input/Output section.
Output:
Output: Click the link below to solve this program
A non prime number N is passed as the input to the program. The program must print the first three factors of N as the output.
Output: Click the link below to solve this program
The program must accept three integers X, Y and Z as the input. Two of these three integers will have same unit digit. The program must print the smallest integer among the integers which are having the same unit digit. Then the program must print the largest integer among the integers which are having the same unit digit. Finally, the program must print the remaining integer as the output.
Output:
Output: Click the link below to solve this program
The program must accept the time in 24-hour format. The program must print the time in 12-hour format as the output.
Output: Click the link below to solve this program
The program must accept N integers and an integer X as the input. The program must print the Xth integer as the output.
Output: Click the link below to solve this program
The program must accept N integers as the input. The program must print the N integers in reverse order as the output.
Output:
Output: Click the link below to solve this program
The program must accept N integers as the input. The program must print all the two digit integers among the N integers in reverse order as the output. If there is no two digit integer then the program must print -1 as the output.
Output:
Output: Click the link below to solve this program
The program must accept two integers X and Y as the input. The program must print the product of the last digit of X and the first digit of Y as the output.
Output:
Output: Click the link below to solve this program
The program must accept an integer X as the input. The program must print the value of 2X (2 power X) as the output.
Output:
Output: Click the link below to solve this program |

Must Solve 100 Programs for Campus Placement Part - 6/10 8 months ago
The program must accept an integer N as the input. The program must double the value of N for 5 times and print it as the output.
Output:
Output: Click the link below to solve this program
The program must accept two integers N1 and N2 as the input. The program must print yes if N1 is a two digit number and N2 is a three digit number else print no as the output.
Output:
Output: Click the link below to solve this program
The program must accept three characters ch1, ch2 and ch3 as the input. The program must print Same if the first two characters or the last two characters are same, else print Different as the output.
Output:
Output: Click the link below to solve this program
Accept three integers A, B and C as the input. If A, B and C are in ascending order or in descending order then print "SORTED" as the output else print "NOTSORTED" as the output.
Output:
Output: Click the link below to solve this program
The program must accept two string values S1 and S2 as the input. The program must print YES if the first three characters are equal in S1 and S2. Else the program must print NO as the output.
Output:
Output: Click the link below to solve this program
Five integers are passed as the input to the program. The program must print the count of odd integers as the output.
Output: Click the link below to solve this program
The program must accept two integers N1 and N2 as the input. The program must print the first 10 multiples of their absolute difference (N1 and N2) as the output.
Output:
Output: Click the link below to solve this program
An alphabet CH from 'A' to 'V' is passed as the input to the program. The program must print five alphabets from CH as the output. Note: The characters can be represented as integers using ASCII values.
Output: Click the link below to solve this program
The program must accept two fractions as the input. Then the program must print yes as the output if the numerators of two fractions are equal or the denominators of two fractions are equal. Else the program must print no as the output.
Output: Click the link below to solve this program
Accept an integer A as the input. If A is a positive integer then print the first five multiples of the unit digit of A as the output. If A is a negative integer then print the first ten multiples of the unit digit of A as the output.
Output:
Output: Click the link below to solve this program |