Recent Articles

Free SkillRack Practice Programs 2 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 2 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. Click the link below to solve this program |

Selection Sort in C Programming language 2 months ago
View |

Must Solve 100 Programs for Campus Placement Part - 10/10 2 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
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 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 2 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 2 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 2 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 2 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 |

Must Solve 100 Programs for Campus Placement Part - 5/10 2 months ago
The program must accept a string S as the input. The program must print the length of S as the output.
Output:
Output: Click the link below to solve this program
A string S of length 7 is passed as the input to the program. The program must print the middle three characters 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 last four digits in N as the output.
Output:
Output: Click the link below to solve this program
The program must accept the price of an item as the input. The program must print the price of the item after 20 percent discount with the precision up to two decimal places as the output.
Output: Click the link below to solve this program
Accept two integers A and B as the input.
Output:
Output:
Output: Click the link below to solve this program
The program must accept three integers as the input. The program must print yes if any two of the three integers can be added to obtain the remaining integer as the output. Else the program must print no as the output.
Output Explanation: Click the link below to solve this program
The program must accept an integer N as the input. Then the program must print N integers from N as the output.
Output: Click the link below to solve this program
In a park, they charge X rupees for adults and Y rupees for kids for entry. The program must accept two integers A and B as the input(where A is the number of adults and B is the number of kids). The program must print the total amount charged as the output.
Output:
Output: Click the link below to solve this program
The program must accept an integer N as the intput. The program must print YES if N is exactly one or two more than a multiple of 30 as the output. Else the program must print NO as the output.
Output:
Output: Click the link below to solve this program
The program must accept three integers N1, N2 and N3 as the input. The program must print yes if N2 is a multiple of N1 and N3 is a multiple of N2. Else the program must print no as the output.
Output: Click the link below to solve this program |

Must Solve 100 Programs for Campus Placement Part - 4/10 2 months ago
The program must print from 1 to 222, with the numbers separated by a space. Click the link below to solve this program
The program must print the sum of two numbers as per the format given in the Example Input/Output Section.
Output: Click the link below to solve this program
The program must accept minutes and convert into seconds.
Output:
Output: Click the link below to solve this program
The runs scored by a batsman is passed as the input. The program must print if he has scored a Century or Half-Century.
Output:
Output:
Output: Click the link below to solve this program
The program must print from 111 to 2 with the values separated by a space. Click the link below to solve this program
The program must accept a number from 1 to 5 and print it as a word as given below.
Output:
Output: Click the link below to solve this program
The program must accept a number and print it's first ten multiples.
Output:
Output: Click the link below to solve this program
The program must accept a string value and print it twice.
Output: Click the link below to solve this program
The program must print a number and print the square as per the format given in the Example Input/Output Section.
Output:
Output: Click the link below to solve this program
The program must print from 1 to 100 with the values separated by a hyphen. Click the link below to solve this program |

Must Solve 100 Programs for Campus Placement Part - 3/10 2 months ago
The program must print if the given number is Odd or Even.
Output:
Output: Click the link below to solve this program
The program must accept a character representing the mobile signal. Click the link below to solve this program
The program must print Hot if the given temperature value is more than 30, must print Cold if the given value is less than 22. Else the program must print Normal.
Output:
Output:
Output: Click the link below to solve this program
Accept two numbers and print their product.
Output:
Output: Click the link below to solve this program
The pass mark in a subject is 40. The marks scored in two subjects by a student is passed as the input. If the student has passed in both the subjects, the program must print pass. Else must print fail.
Output:
Output: Click the link below to solve this program
The numbers are passed as the input to the program. If at least one of the numbers is equal to 100, the program must print yes. Else the program must print no.
Output:
Output: Click the link below to solve this program
The program must accept a number and print yes if it is NOT equal to zero. Else it must print no.
Output:
Output: Click the link below to solve this program
The program must accept two numbers and print the value (up to two decimal places) when they are divided.
Output:
Output: Click the link below to solve this program
A student has Rs.100 in hand. He buys snacks for X rupees from the canteen. The program must print the amount remaining with the student.
Output:
Output: Click the link below to solve this program
The program must accept two numbers and print their average (up to two decimal places).
Output:
Output: Click the link below to solve this program |

Must Solve 100 Programs for Campus Placement Part - 2/10 2 months ago
The program must accept two numbers and print yes if they are equal. Else the program must print no as the output.
Output:
Output: Click the link below to solve this program
The program must accept two numbers and print the largest number.
Output:
Output: Click the link below to solve this program
The program must accept a number and print its remainder when it is divided by 5.
Output:
Output: Click the link below to solve this program
The program must accept a mark and print if it is pass or fail. The pass mark is 40.
Output:
Output: Click the link below to solve this program
Accept two numbers and print their product.
Output:
Output: Click the link below to solve this program
Accept three numbers and print their product.
Output:
Output: Click the link below to solve this program
The program must accept a number and print its unit digit.
Output:
Output: Click the link below to solve this program
The program must accept two numbers and print the smallest number.
Output:
Output: Click the link below to solve this program
The program must accept a character. Click the link below to solve this program
The program must accept a number and remove the unit digit.
Output:
Output: Click the link below to solve this program |

Must Solve 100 Programs for Campus Placement Part - 1/10 2 months ago
The program must print SkillRack as the output.
Click the link below to solve this program
The program must print Skill in the first line and Rack in the second line.
Output: Click the link below to solve this program
Accept two numbers and print their sum.
Output:
Output: Click the link below to solve this program
The program must accept a number and multiply it by 2.
Output:
Output: Click the link below to solve this program
The program must accept two numbers and subtract them.
Output:
Output: Click the link below to solve this program
The program must accept a number and print it's square.
Output:
Output: Click the link below to solve this program
The program must accept a number and print its previous number.
Output:
Output: Click the link below to solve this program
The program must accept a number and print its next number.
Output:
Output: Click the link below to solve this program
The program must accept a number and print it's cube.
Output:
Output: Click the link below to solve this program
Accept three numbers and print their sum.
Output:
Output: Click the link below to solve this program |

How to print the ASCII value of a character? 2 months ago
The below
The below
The below
View |

Find the square root of an integer without using any in-built function 6 months ago
How to find the square root of an integer without using any in-built function? Using The C solution is given below.
View |