Answer:
In C:
#include <stdio.h>
#include <math.h>
int main(){
float f0,r,temp;
r = pow(2.0,1.0/12);
printf("f0: "); scanf("%f", &f0);
temp = f0;
for(int i = 0; i<=4;i++){
f0 = f0 * pow(r,i);
printf("%.2lf ", f0);
f0 = temp; }
return 0;
}
Explanation:
This declares f0, r and temp as float
float f0,r,temp;
This initializes r to 2^(1/12)
r = pow(2.0,1.0/12);
This prompts the user for f0
printf("f0: "); scanf("%f", &f0);
This saves f0 in temp
temp = f0;
This iterates the number of keys from 0 to 4
for(int i = 0; i<=4;i++){
This calculates each key
f0 = f0 * pow(r,i);
This prints the key
printf("%.2lf ", f0);
This gets the initial value of f0
f0 = temp; }
return 0;
A query is a request for specific data from a database.
Answer:
Blue
Explanation:
set_Property - (topButton), (#background-color), (orange)
set_Property - (bottomButton), (#background-color), (red)
set_Property - (topButton), (#background-color), (blue)
set_Property - (bottomButton), (#background-color), (green)
Here, the background color for the 'topButton' would be "blue" when the program is finished running, as it is the last task, the topButton would be set to or it is the last thing that will run for the button.
Answer:
RUP
Explanation:
RUP or Rational Unified Process is an IBM's software that divides the development process in four phases. It was developed to work throughout the entire software development life cycle, it's adaptive.
I hope you find this information useful and interesting! Good luck!