Homepage codingsolvers.com

Featured Post

This C program will help you to calculate your EMI. how to make EMI Calculator using C programming

#include <stdio.h> #include <math.h> int main() {     float principal_amount, roi, time, emi;     printf("Enter your princ...

Pradyut Pal 4 Oct, 2021

Latest Posts

This C program will help you to calculate your EMI. how to make EMI Calculator using C programming

#include <stdio.h> #include <math.h> int main() {     float principal_amount, roi, time, emi;     printf("Enter your princ...

Pradyut Pal 4 Oct, 2021

Any year is input through the keyboard. Write a program to determine whether the year is a leap year or not.

#include int main () { int y; printf( "Enter a year: " ); scanf( "%d" ,&y); if(y%4==0 && y%100!...

Pradyut Pal 13 Jul, 2021

Any character is entered through the keyboard, write a program to determine whether the character entered is a capital letter, a small case letter, a digit or a special symbol.

#include #include int main () { char ch; int n; printf("Enter a character: "); scanf("%c", &ch); n=...

Pradyut Pal 13 Jul, 2021

Write an algorithm to determine maximum and minimum of three numbers using ternary operator.

#include int main() { int a, b, c, max,min; printf("Enter three numbers: "); scanf("%d%d%d", &a, &b, &...

Pradyut Pal 13 Jul, 2021

Write a C program to determine the sum of individual digits of a given integer.

#include int main() { int n,sum=0,m; printf("Enter a number:"); scanf("%d",&n); while(n>0) { m...

Pradyut Pal 13 Jul, 2021

Write a C program to determine maximum and minimum of three numbers. Also draw the corresponding flow chart.

#include int main () { int a, b, c, max,min; printf("Enter three numbers: "); scanf("%d%d%d", &a, &b, ...

Pradyut Pal 13 Jul, 2021

Temperature of a city in Fahrenheit degrees is input through the keyboard. Write a program to convert this temperature into Centigrade degrees.

#include #include int main() { float f, c; printf("Enter Temperature in Fahrenheit: "); scanf("%f", &f); c =...

Pradyut Pal 13 Jul, 2021