## Print last character of each word in a string

Given a string str, the task is to print the last character of each word in the string. Examples: Input: str = “Geeks for Geeks”… Read More »

- Find the total guests that are present at the party
- Find the sum of digits of a number at even and odd places
- How to learn Pattern printing easily?
- Programs for printing pyramid patterns using recursion
- Replace array elements by sum of next two consecutive elements
- Program to calculate product of digits of a number
- Difference between while and do-while loop in C, C++, Java
- Check if it is possible to create a polygon with given n sides
- Difference between High Level and Low level languages
- Print last character of each word in a string
- Menu-Driven Program for Bank Management System
- Find the hypotenuse of a right angled triangle with given two sides
- Print the first and last character of each word in a String
- Sum of all perfect numbers present in an array
- Number of character corrections in the given strings to make them equal
- Reorder the position of the words in alphabetical order
- Program to duplicate Vowels in String
- Sum of all palindrome numbers present in an Array
- Sum of all mersenne numbers present in an array
- Check whether the Average Character of the String is present or not
- Program to parse the Molecules and get the Atoms count
- Count the number of currency notes needed
- Program to find the Encrypted word
- Find sum of factorials in an array
- Python program for word guessing game
- Find the area of the shaded region formed by the intersection of four semicircles in a square
- Difference between for and while loop in C, C++, Java
- 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

Given a string str, the task is to print the last character of each word in the string. Examples: Input: str = “Geeks for Geeks”… Read More »

Given the other two sides of a right angled triangle, the task is to find it’s hypotenuse. Examples: Input: side1 = 3, side2 = 4… Read More »

You are given a time T in 24-hour format (hh:mm) and a positive integer K, you have to tell the time after K minutes in… Read More »

A person hosts a party and invites N guests to it. However, each guest has a condition, that each guest ‘Gi’ only stays at the… Read More »

Given here is a right circular cone of radius r and perpendicular height h, which is inscribed in a cube which in turn is inscribed… Read More »

Given a string of alphanumeric characters, the task is to check whether the average character of the string is present or not. Average character refers… Read More »

Given the Selling price i.e ‘SP’ of the two items each. One item is sold at ‘P%’ Profit and other at ‘P%’ Loss. The task… Read More »

This article is aimed at giving a recursive implementation for pattern printing. Simple triangle pattern: C++ filter_none edit close play_arrow link brightness_4 code // C++… Read More »

Given a number N. Find the number of ways to divide a number into four parts(a, b, c, d) such that a = c and… Read More »

Given a generic digital clock, having h number of hours and m number of minutes, the task is to find how many times the clock… Read More »

Given two large or small numbers, the task is to find the last digit of the product of these two numbers. Examples: Input: a =… Read More »

Given an array, the task is to determine whether an array is a palindrome or not. Examples: Input: arr[] = {3, 6, 0, 6, 3}… Read More »

Given two integers n1 and n2, the task is to concatenate these two integers into one integer. Example: Input: n1 = 12, n2 = 34… Read More »

Given an array arr[], the task is to find whether the array is mirror inverse. Inverse of an array means if the array elements are… Read More »

Given an array arr[] and an integer K, the task is to find the Kth odd element from the given array. Examples: Input: arr[] =… Read More »