## Python program to convert time from 12 hour to 24 hour format

Given a time in 12-hour AM/PM format, convert it to military (24-hour) time. Note : Midnight is 12:00:00 AM on a 12-hour clock and 00:00:00… Read More »

- How to learn Pattern printing easily?
- Difference between while and do-while loop in C, C++, Java
- Menu-Driven Program for Bank Management System
- Difference between High Level and Low level languages
- Sum of all perfect numbers present in an array
- Program to duplicate Vowels in String
- Reorder the position of the words in alphabetical order
- Number of character corrections in the given strings to make them equal
- Sum of all palindrome numbers present in an Array
- Python program for word guessing game
- Program to parse the Molecules and get the Atoms count
- Sum of all mersenne numbers present in an array
- Difference between for and while loop in C, C++, Java
- Find sum of factorials in an array
- Program to find the Encrypted word
- Find number of candidates in the Exam
- Python | Scramble words from a text file
- Difference between for and do-while loop in C, C++, Java
- Check if the first and last digit of number N is prime and their sum is less than K
- Program to Encrypt a String using ! and @
- Minimum value to be assigned to the elements so that sum becomes greater than initial sum
- Print the season name of the year based on the month number
- What is an Expression and What are the types of Expressions?
- Python | Append Odd element twice
- Program to print the Ladder Pattern
- Program to print the Diagonals of a Matrix

Given a time in 12-hour AM/PM format, convert it to military (24-hour) time. Note : Midnight is 12:00:00 AM on a 12-hour clock and 00:00:00… Read More »

This article is aimed at giving a PHP implementation for pattern printing. Simple Pyramid Pattern filter_none edit close play_arrow link brightness_4 code <?php // Php… Read More »

Given the value of length, print the X pattern in a box using # and ” ” Examples: Input : 10 Output : ########## ##… Read More »

Given a number n, find the n-th term in the series 3, 13, 42, 108, 235… Examples: Input : 3 Output : 42 Input :… Read More »

Given n and b, where n is the number of terms in the series and b is the value of the angle in degree. Program… Read More »

Given a matrix and a scalar element k, our task is to find out the scalar product of that matrix. Examples: Input : mat[][] =… Read More »

Given an array of numbers, print all those elements that are greater than average. Examples: Input : 5, 4, 6, 9, 10 Output : 9… Read More »

Following are common definition of Binomial Coefficients. A binomial coefficient C(n, k) can be defined as the coefficient of X^k in the expansion of (1… Read More »

Given a number n, find the sum of digits of n when represented in different bases from 2 to n-1. Examples: Input : 5 Output… Read More »

Given a String str , the task is to check if the sum of ASCII value of all characters is a Prime Number or not.… Read More »

An Operating System performs all the basic tasks like managing file,process, and memory. Thus operating system acts as manager of all the resources, i.e. resource… Read More »

We are given a string, we need check whether the first and last characters of the string str are equal or not. Case sensitivity is… Read More »

Given an equation of the circle X2 + Y2 = R2 whose center at origin (0, 0) and the radius is R. The task is… Read More »

Given a String str and the task is to check sum of ASCII value of all characters is a perfect square or not. Examples :… Read More »

Given starting and ending position and a number N. Given that we are allowed to move in only four directions as shown in the image… Read More »