Published on Sep 22, 2024
SUNDAY CHALLENGE

Send Your Solution on 7020781343 

Batch 1:

Problem Statement:

Write a C program to calculate the simple interest based on the given principal amount, rate of interest, and time period.

Formula to calculate Simple Interest:

 

Test Data:

Input the principal amount: 1000

Input the rate of interest: 5

Input the time period in years: 3

Expected Output:

Simple Interest = 150.000

 

 

 

Batch 2:

 

Write a C program to convert a temperature from Celsius to Fahrenheit.

Formula to convert Celsius to Fahrenheit:

Fahrenheit=(Celsius× 5/9 )+32

 

Test Data:

Input temperature in Celsius: 25

Expected Output:

Temperature in Fahrenheit: 77.000