C Program to Multiply Two Floating-Point Numbers
Program to Multiply Two Numbers #include <stdio.h> int main() { double a, b, product; printf(“Enter two numbers: “); scanf(“%lf %lf”,
Read moreProgram to Multiply Two Numbers #include <stdio.h> int main() { double a, b, product; printf(“Enter two numbers: “); scanf(“%lf %lf”,
Read moreProgram to print half pyramid using * #include<stdio.h> int main() { int i, j, rows; printf(“Enter number of rows:
Read moreProgram to Print English Alphabets #include <stdio.h> int main() { char c; for (c = ‘A’; c <= ‘Z’; ++c)
Read moreMultiplication Table Up to 10 #include <stdio.h> int main() { int n, i; printf(“Enter an integer: “); scanf(“%d”, &n); for
Read moreUsing if Statement #include <stdio.h> int main() { double n1, n2, n3; printf(“Enter three different numbers: “); scanf(“%lf %lf %lf”,
Read moreReverse an Integer #include <stdio.h> int main() { int n, rev = 0, remainder; printf(“Enter an integer: “); scanf(“%d”, &n);
Read moreThe Fibonacci sequence is a sequence where the next term is the sum of the previous two terms. The first
Read moreThe factorial of a positive number n is given by: factorial of n (n!) = 1 * 2 * 3
Read moreProgram to Check Leap Year #include <stdio.h> int main() { int year; printf(“Enter a year: “);
Read moreC program to convert time in Hours:Minutes:Seconds to seconds /* C program to convert time in hours:minutes:seconds to seconds */
Read more