CSharp Programming
CSharp > Code Examples
A hierarchy of timelines
C Code Print ASCII values of all Characters -
Program print ASCII values of all characters. ASCII stands for American Standard Code for Information Interchange. It is a set of integer values that represents different printable and
Code Removes First Occurrence of a Word -
C program to 'input any string' from user and remove first occurrence of a given word from string. Logic to remove 'first occurrence' of a word. Input string from user, store it in some
Replace all Occurrences of a Character in a -
Write a C program to 'Replace all Occurrence' of a character with another in a string using a Function. 'Input a string' from user, store it in some variable say str. Input old character and
Calculates Area & Circumference of Circle -
To calculate area and circumference we must know the radius of circle. C program code will prompt user to enter the radius and based on the input it would calculate the values. Make
C++ Increment and Decrement Operators -
In this C++ example, you'll 'learn to overload' Increment ++ and Decrement -- operators in C++. "increment & decrements" operator are overloaded in best possible way, increase the
Test Using DFS Whether a Directed Graph -
This C++ Program checks whether a directed graph is weakly connected or not. We can do "DFS" V times starting from every vertex. If any DFS, doesn't visit all vertices, then graph
C Program Code Checks Vowel Consonant -
C Programming Language check whether an alphabet is Vowel or Consonant using if else. English alphabets a, e, i, o, u both lowercase & uppercase are known as vowels. Alphabets
C Programming coding Calendar example -
This is because a leap year does not strictly fall on every fourth year. If a year is divisible by 4, then it is a leap year, but if that year is divisible by 100, then it is not a leap year.