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

Check Repeated Alphabets

The program must accept a string value S as the input. The program must print invalid if the alphabets are repeated continuously for more than…
CF

Matrix Zig-Zag from Top Right

The program must accept an integer N as the input. The program must print the desired pattern as shown in the Example Input/Output…
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…
CF

Characters – Factors of Length

The program must accept a string S as the input. The program must calculate the length of string S as L. Then the program must print the…