How to Print a String in C?
C Program to Print a String Entered by the User #include <stdio.h> int main() { char name[20]; // Character array printf("\n\tC Program to Print a string"); printf("\n\tEnter a string to…
C Program to Print a String Entered by the User #include <stdio.h> int main() { char name[20]; // Character array printf("\n\tC Program to Print a string"); printf("\n\tEnter a string to…
Subtract Two Integers Entered by the User in C Programming //Write a program to subtract two integer in C? #include<stdio.h> int main() { int result,var1,var2; printf("Enter the values for var1…
Compound Interest Formula Amount=P(1+r/100)t P=Principal Amountr=Rate of Interestt=Time Periods. Program to Find Compound Interest Using C Programming #include<stdio.h> #include<math.h> int main() { int principal_amount,rate_of_interest,Interest_applied,time_periods; printf("\n\n\tProgram to Find Compound Interest Using…
Multiply Two Integers Entered by the User using C Program Pre-requisite Programming concepts C Input and Output OperationsC Operators Program #include<stdio.h> int main() { int result,var1,var2; printf("Enter the values for…
How to Calculate Simple Interest? Simple interest can be calculated using the formula: Simple Interest SI=(p*t*r)/100. Here p is the principle amount. For this amount we are calculating the interest.…
In this article, you will be able to learn to write a program print an Integer entered by the user in c programming language. C Program to Print an Integer…
An even number is a number that is completely divisible by 2. An odd number is a number that is not completely divisible by 2. If you divide an odd…
In this post, you will be able to learn various methods to check the entered character is vowel or consonant using C Programming language. C Program to Check Vowel or…
In this article, you will be able to learn how to find the largest number among three numbers in c programming language. C Program to Find the Largest Number Among…
In C programming language you can check the size of a variable using sizeof operator. In order to use sizeof the zoperator, you can pass variable to the operator. Example:…