C

C

Explore our C programming domain filled with a wealth of articles! Discover tutorials, advanced techniques, code examples, and best practices to enhance your skills. Dive in and start coding with confidence today!

PythonF

Message Encryption

To encrypt messages Jil will first decide on the number of columns C to use. Then Jil will pad the message with letters chosen randomly so…
CF

Matrix Diagonals Sum

You are given a square matrix of size N*N.Calculate the sum of integers present in the two main diagonals Example 1: Input:35 10 1179 6 129 21…
CF

Filling Cans

Two cans are with capacity X and y liters.The program must determine the number of steps required to obtain exactly Z liters of liquid one of…
CF

Shift Encryption

Anmol wants to encrypt the message  which is to be sent to his business partner.Binamol,  so he shifts every alphabet by X positions…
CF

Minimum Sum – M out of N

Given N positive integers, find the minimum sum S that can be obtained by adding exactly M out of the N integers. The program must print the…
CF

Minimum Distance between words

A string S is passed as the input.Two words w1 and w2 which are present in the string S are also passed as the input. The program  must…
CF

Word Search in Matrix

The program must accept a character matrix of size R*C and a string S as input. The program must search the string S in…