Skip to content
Download Android App: Follow Us:
Simple2Code
  • Home
  • Java
    • Java Tutorial
    • Java Programs
    • Java Pattern Programs
  • C
    • C Tutorial
    • C Programs
  • C++
    • C++ Tutorial
    • C++ Programs
  • C#
    • C# Tutorial
    • C# Programs
  • Apps
  • Blog
  • About Us

c number programs

C Program to Generate Random numbers within a Range

In this tutorial, you will learn to generate random numbers within a range in C programming. But before that, you may go through the topic below if you do not know about the rand() and srand() function used in random …

Read moreC Program to Generate Random numbers within a Range

Categories C Programs Tags c number programs

C Program to Generate Random Numbers

In this C program section, we will learn how to generate random numbers in C programming. Let us start with random numbers. What is Randon Number? We can define Random as something that happens without any conscious decision. Similarly, a …

Read moreC Program to Generate Random Numbers

Categories C Programs Tags c number programs

C Program to Convert Number to Words

In this tutorial, we will create a C program to Convert Numbers to Words. Consider a number 278 is taken as an input, now the program will convert this numeric value to words such as “Two Hundred Seventy Eight”. We …

Read moreC Program to Convert Number to Words

Categories C Programs Tags c number programs

C Program to Find GCD of two Numbers

This tutorial will teach you how to find the GCD (Greatest Common Divisor) or HCF of two numbers in C. To understand this example, you should have knowledge of the following C programming topics. The GCD(Greatest Common Divisor) of two integers is …

Read moreC Program to Find GCD of two Numbers

Categories C Programs Tags c number programs

C Program to Find LCM of two Numbers

This tutorial will teach you how to find the LCM (Least Common Multiple) of two numbers in C. To understand this example, you should have knowledge of the following C programming topics. The LCM (Least Common Multiple) of two integers is the smallest …

Read moreC Program to Find LCM of two Numbers

Categories C Programs Tags c number programs

C Program to Find the GCD and LCM of Two Integers

The post on C program calculates the GCD and LCM of two integer numbers. GCD(Greatest Common Divisor) or HCF: Largest Integer that can divide both the numbers without any remainder or with 0 as remainder. For example, the GCD or HCF …

Read moreC Program to Find the GCD and LCM of Two Integers

Categories C Programs Tags c number programs

C Program to Find Sum of First and Last Digit of any Number

In this tutorial, we will learn, how to find the sum of the first and last digit of a number in C. We will see two examples with different approaches. Before that, you should have knowledge of the following topics …

Read moreC Program to Find Sum of First and Last Digit of any Number

Categories C Programs Tags c number programs

C Program to Generate Fibonacci Series

This is the tutorial on the Fibonacci series in C with an example. Before that, you should have knowledge of the following topic in C. What is Fibonacci Series? Fibonacci series is the series of numbers where the next number …

Read moreC Program to Generate Fibonacci Series

Categories C Programs Tags c number programs

C Program to Check Whether a Number is Palindrome or Not

In this tutorial, you will learn how to check whether the number is palindrome or not in C programming. Before that, let us understand the Palindrome number. What is a palindrome number? A number is said to be a Palindrome …

Read moreC Program to Check Whether a Number is Palindrome or Not

Categories C Programs Tags c number programs

Sum of digits of a Number in C

This tutorial is to find the sum of digits of a number using for loop and while loop in C. You need to have knowledge of the following topics in C. Explanation:To find the sum of the digits means to …

Read moreSum of digits of a Number in C

Categories C Programs Tags c number programs
Older posts
Newer posts
← Previous Page1 Page2 Page3 Page4 Next →

More Topics

  • Java Program to find the sum of the Largest Forward Diagonal
    28 April 2024
  • C Program to search an element in an array using Pointers
    7 January 2024
  • C Program to find the sum of the digits of a number using recursion function
    7 January 2024
  • C program to find factorial of a numberĀ using Ternary operator with Recursion
    6 January 2024
  • C Program to Add Two Numbers Using Call by Reference
    6 January 2024
  • Find the output ab, cd, ef, g for the input a,b,c,d,e,f,g in Javascript and Python
    1 February 2023
  • String Pattern Programs in C
    29 July 2022

Categories

  • C Programs
  • C Tutorial
  • computer fundamentals
  • CPlusPlus Programs
  • CPlusPlus Tutorial
  • CSharp Programs
  • CSharp Tutorial
  • HTML
  • Java Programs
  • Java Tutorial
  • javascript
  • Uncategorised

Simple2Code

  • About Us
  • Privacy Policy
  • Disclaimer
  • Sitemap

Search

Follow Us:
Copyright © 2025 Simple2Code