Answer:
#include<iostream>
#include<cmath>
using namespace std;
int main()
{
int a=1;
while(a==1){
float P=0.0,R=0.0,T=0.0,A=0.0,n=0.0,nt=0.0;
cout<<"Enter your Initial Investment Amount : ";
cin>>P;
cout<<"Enter your Rate of Annual interest : ";
cin>>R;
cout<<"Enter No. of times the interest is compound : " ;
cin>>n;
cout<<"Enter Time (years) : ";
cin>>T;
nt=n*T;
A=P*pow((1+R/n),(nt));
cout<<"After "<<T<<" years, the initial investment of "<<P<<" is : "<<A;
cout<<"\nEnter 1 to continue or exit by pressing any other button";
cin>>a;
}
return 0;
}
Explanation:
- Get the essential values from user as an input and store them in variables.
- Apply the following formulas to calculate years and initial investment.
- nt=n*T;
- A=P*pow((1+R/n),(nt));
- Finally display the results.
Answer:
Speech synthesis or text-to-speech (TTS) program
Explanation:
A speech synthesis program is a program can convert a written text to audio. The program can recognize the text and present it in audio format with a human voice. Speech synthesis program can be found in Microsoft Word. We can go Review tab and find the "Read Aloud" option. We can selectively highlight the text in Word and click "Read Aloud". This will trigger the text-to-speech conversion process and produce the audio output of the highlighted text in human voice.
Answer:
executable file
Explanation:
.exe stands for executable