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 Print Natural Numbers in Reverse order with a difference of 2

In this tutorial, you will learn how to print the natural numbers in reverse order from n to 1 and also between the range of two numbers with a difference of 2 in C. You need to have the knowledge …

Read moreC Program to Print Natural Numbers in Reverse order with a difference of 2

Categories C Programs Tags c number programs

C Program to Print Natural Numbers in Reverse from n to 1

In this tutorial, you will learn how to print the natural numbers in reverse order from n to 1 and also between the range of two numbers in C. You need to have the knowledge of the following in C. …

Read moreC Program to Print Natural Numbers in Reverse from n to 1

Categories C Programs Tags c number programs

C Program to Reverse a Number using Loops

In this tutorial, we will write a C program to reverse a number using loops. Before that, you may go through the following topics in C. To reverse an integer in C is achieved using loop and operators. For example, …

Read moreC Program to Reverse a Number using Loops

Categories C Programs Tags c number programs

C Program to Count the Number of Digits in an Integer

In this tutorial, you will learn how to count the number of Digits in an integer in C programming. You will learn various approaches possible to Count the Number of Digits. But before that, you need to have knowledge of …

Read moreC Program to Count the Number of Digits in an Integer

Categories C Programs Tags c number programs

C Program to Find Quadrant of a given Co-Ordinate

Questions:Write a C program to accept a coordinate point in an XY coordinate system and determine in which quadrant the coordinate point lies. A Cartesian coordinate system specifies each point uniquely in a plane by a pair of numerical coordinates.There …

Read moreC Program to Find Quadrant of a given Co-Ordinate

Categories C Programs Tags c number programs

C Program to Find Factorial of a Number using Recursion

In this example, we will calculate the factorial of a number taking the value from the user in C using recursion. Recursion refers to the function calling itself directly or in a cycle. Before we begin, you should have the …

Read moreC Program to Find Factorial of a Number using Recursion

Categories C Programs Tags c number programs

Factorial Program in C using Function

In this example, we will calculate the factorial of a number taking the value from the user in C. Before we begin, you should have the knowledge of the following in C Programming: Factorial of n number: Factorial of n …

Read moreFactorial Program in C using Function

Categories C Programs Tags c number programs

C Program to Find Roots of a Quadratic Equation

Quadratic equations are the polynomial equation having a degree 2. For a quadratic equation ax2+ bx + c = 0, (a≠0) and the discriminant (D = b2-4ac) decides the nature of roots. There are three possibilities of discriminant and those …

Read moreC Program to Find Roots of a Quadratic Equation

Categories C Programs Tags c number programs

C Program to Print Prime Numbers up to a Given Number

In this tutorial, you will learn how to display all the Prime Numbers from 1 to entered Range in C. Prime Number: A Prime Number is a number that is only divisible by 1 and itself. Example: 2, 3, 5, …

Read moreC Program to Print Prime Numbers up to a Given Number

Categories C Programs Tags c number programs

C program to Print Prime Numbers in a Given Range (max & min)

In this tutorial, you will learn how to display all the Prime Numbers within a Range in C. Prime Number: A Prime Number is a number that is only divisible by 1 and itself. Example: 2, 3, 5, 7, 11, …

Read moreC program to Print Prime Numbers in a Given Range (max & min)

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