Computer Science, asked by geetarawat3676, 11 months ago

1. Write a program to read distance in miles and print in kilometre. (1mile=1.609 km)

2. Write a program to compute "how many days in a million seconds?"

3. Write a program to calculate simple interest by entering the value of principal amount, rate of interest and time period.

4. Write a program to convert temperature from calcius to fahrenheit. (0°C × 9/5) + 32 = 32°F)

CORRECT ANSWER= BRAINLIEST ​

Answers

Answered by gaurav724
4

Answer:

answer is for c++ programing

program to calculate simple interest by entering the value of principal amount, rate of interest and time period

#include<iostream.h>

#include<conio.h>

void main()

{

float p,si,r,t

cout<<"enter the value of principle";

cin>>p;

cout<<"entet the value of rate";

cin>>r;

cout<<"entet the value of time";

cin>>t;

si=(p*r*t)/100

cout<<"simple intrest :"<<si;

getch()

}

Similar questions