Here's a C program to find sum of positive and negative elements of an array in C using for loops and IF-Else condition.
Showing posts with label Arithmetic Operations. Show all posts
Showing posts with label Arithmetic Operations. Show all posts
Sunday
Thursday
Program to Find the Average of First n Natural Numbers
Here is a program to find the average of first n natural numbers using for loop with output and explanation.
Performing Arithmetic Operations using Switch-Case
Here is a program that performs arithmetic operations using switch case in C programming language. The use of switch case provides more control to the user by asking the user which operation he/she wants to perform.
Monday
Program of Simple Arithmetic Operation in C
Here's a program that performs basic arithmetic operations like addition, subtraction, multiplication and division using C programming language.
Friday
Converting Fahrenheit to Centigrade in C | C Program
Here is a C program to convert temperature in Fahrenheit to Centigrade with output and proper explanation. This can be easily done with the help of a simple formula.
Converting Centigrade to Fahrenheit using C | C Program
Here is a C program to convert temperature in Centigrade to Fahrenheit with output and proper explanation. This is be done using normal arithmetic operations like addition and multiplication. All you need is the conversion formula.
Saturday
Program to Find the Sum of Odd and Even Numbers in C | C Program
Here’s a C program that calculates the sum of all even and odd numbers that falls in a range from 1 to some limit say n with output and proper explanation. The program uses for loop.
Program to Find the Sum of Odd and Even Numbers using Single For Loop in C | C Program
Here’s a C program that calculates the sum of all even and odd numbers that falls in a range from 1 to some limit say n with output and proper explanation. The program uses for loop.
Subscribe to:
Posts (Atom)
Labels
C Program Examples
For Loops
C Aptitude Questions
C Interview Questions with Answers
If Else in C
Nested Loops
Arrays in C
Modulus in C
While Loop
C Programming Tips
If in C
Arithmetic Operations
Auto Incrementing Operator ++
Break
C Programming Facts
Strings in C
C Concepts
Matrix in C
Float Data Type
Power Function pow()
Switch Case
gets Function in C
Entering Value in a Matrix
String Functions
C Operators
C++ Interview Questions with Answers
Continue in C
String Copy strcpy()
Trigonometry Examples
Auto Decrementing Operator --
CTYPE.H Header File in C
Division in C
Fibonacci Series
For Loop with No Body
GOTO Statement
Pointer in C
Sorting
String Length strlen()
Ternary Operator
Two Dimensional Arrays in C
Type Casting in C
Using Arrays as Pointers in C
Using Pointers as Arrays in C
C Header Files
Constructor
Destructor
Do While Loop
Finding Day of Given Date
Finding Leap Year
User Defined Functions in C

