This program allows to simulate the operation of an integer division between 2 positive integers a and b entered, we divide the largest over the smallest without using the operator “/” and then display the quotient...
Tag - C# Loop Examples
Reverse an Integer in C#
In this program you will learn how to reverse an integer number in C# language. The program takes the number by the user, then displays the reversed number on the screen. For example, if the user enters 678 as input, 876 is...
Write C# Code to Convert Digits to Words
In this post, we will writa a C# Program to Convert Digits to Words. C# Code: C# Program to convert Digits to Words 12345678910111213141516171819202122232425262728293031323334 class...
C# Basic Programming Examples
C# Examples on Fundamental Mathematical Operations 1) C# Program to Check whether the Entered Number is Even or Odd This is a C# Program to check whether the entered number is even or odd. Problem Description This C# Program...
Print Star Pattern Program in C#
Star Series and Patterns Programs in C# Half, Full, Incremented and Decrement Stars Series, Pyramid Pattern programs Program 1: 1234567891011121314151617...
C# Program to Calculate the Power of a Number Without Using Math.Pow
This C# program computing an of the number that given two integers base and exponent by user. Create a program that takes two integers base and exponents and compute the exponents without using Math.Pow() Create Custom Pow Method...