C Program To Calculate Simple Interest

C Program Calculate Simple Interest Example #include<stdio.h> void main() { float Principal, Rate, TimePeriod, SI; printf("Enter Principal: "); scanf("%f", & Principal); printf("Enter Rate: "); scanf("%f", & Rate); printf("Enter Time: "); …

Read more

C Program To Print Hello World

C Program Print Hello World Example #include <stdio.h> int main() { printf(“Hello, World!”); } Output: Hello, World!   Example #include <stdio.h> int main() { int array[] = {72,101,108,108,111,127,44,87,111,114,108,100,33}; for (int …

Read more

Python Program To Find Factorial Of A Number

Python Program To Find Factorial Of A Number Method-01 Using recursion def findFactorial(N): if(N==1): return 1 return N*findFactorial(N-1) # N = int(input(“Enter the input: “, )) N=6 factorialValue=findFactorial(N) print(“Factorial: “,factorialValue) …

Read more