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!

CF

Distance Travelled + or –

The program must accept a string S representing the direction of movement as the input. The string S contains only the…
CF

Variable Discount

The program must accept an integer P which represents the price of an item in a supermarket as the input. The program must print the…
CF

Same Adjacent – Asterisks

The program must accept a string S as the input. The program must print YES if the adjacent characters of each asterisk (*) are same. Else the…
PythonF

Fill the Underscores

The program must accept a string S containing underscore(s) and N string values as the input. A group of consecutive underscores in the string…
CF

Strong password check

Recently a security committee decided to enforce the following rules when an employee creates/changes his/her password. ->The password must…
CF

Smallest Possible Odd Integer

The program must accept an integer N as the input. The program must print the smallest possible odd integer using all the digits in N as the…