![smilequi9653](/avatars/26054.jpg)
smilequi9653
22.04.2021 •
History
What did the 1960s have in common with the Great Depression?
A.They were times of political and social turmoil.
B.The U.S. was involved in unpopular wars during both.
C.Unemployment reached record levels at both times.
D.During these times, radio was a popular form of entertainment.
Solved
Show answers
More tips
- H Health and Medicine How to Treat Whooping Cough in Children?...
- L Leisure and Entertainment Unlocking the Secrets of Fast and Effective Tectonic Learning...
- A Animals and plants Уход за джунгариками: полезные советы и рекомендации...
- S Style and Beauty How to knit a hooded cowl?...
- S Style and Beauty How to Break in New Shoes: 7 Simple Methods...
- D Dating, Love, Relationships 10 Useful Tips on How to Survive a Breakup?...
- A Art and Culture How to Learn Screaming: Step-by-Step Guide for Beginners...
- A Art and Culture Attention, the Final Episode of Margo is Almost Here!...
- H Health and Medicine Novomin: What is it and how to use it?...
- L Leisure and Entertainment How to Land on the Moon: Your Comprehensive Guide...
Answers on questions: History
- H History By the 1970s how much of the world s population lived under communist regimes...
- H History What did the colonist bring back from the west indies...
- M Mathematics The profit p ( in hundreds of dollars ) that a company makes depends on the expenditure x ( in hundreds of dollars ) that the company spends advertising according to the model p(x)...
- S Spanish Alguien se ducha. 1 of 3 se ducha. 2 of 3 se ducha 3 of 3 . Question 2 with 3 blanks Ellas van también. Ellas 1 of 3 van. Ellas 2 of 3 van 3 of 3 . Question 3 with 3 blanks Alguien...
- P Physics The diagram below represents a part of the continental United States. A weather front is approaching a city at location X. How are both the temperature and the barometric pressure...
- E English An example of a word we now use that originated in science fiction literature is A. spaceship B. headphones C. evolution D. translator...
- C Computers and Technology Many computer users and some operating systems call subdirectories...
Ответ:
#include<iostream>
#include<iomanip>
#include<cmath>
using namespace std;
int main()
{
float f0;
cout<<"Initial Frequency: ";
cin>>f0;
for(int n = 1; n<=5;n++)
{
cout<<f0<<setprecision(2);
f0 = f0 * pow(2.0,1.0/12);
cout<<" ";
}
return 0;
}
Explanation:
The programming language is not stated; However, one can easily deduce that the program is to be written using C++
The following libraries enable the program to make use of some built in functions
#include<iostream>
#include<iomanip>
#include<cmath>
using namespace std;
int main()
{
This line declares the initial frequency as float
float f0;
This line prompts user for input
cout<<"Initial Frequency: ";
This line gets user input
cin>>f0;
The following iteration calculates and prints the frequency for thenexr 4 keys
for(int n = 1; n<=5;n++)
{
cout<<f0<<setprecision(2);
f0 = f0 * pow(2.0,1.0/12);
cout<<" ";
}
return 0;
}