Answer:
#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
double PI_D = 3.14159256359;
float PI_F = 3.14159256359;
cout<<"i"<<"\t\t"<<"Float"<<"\t\t"<<"Double"<<endl;
for(int i = 1; i<=10;i++)
{
cout<<i<<"-\t\t"<<PI_F<<setprecision(i)<<"-\t\t"<<PI_D<<setprecision(i)<<endl;
}
return 0;
}
Explanation:
See Attachment where I used comments for explanation
Answer:
The correct answer is d.extended.
Explanation:
In order to have a superclass in Java, it is indispensable to extend, or inherit from, a class. It means that a subclass is created by an extended class. All the classes in Java only need one superclass from which it inherits some of its fields and methods.
I think the answer to that is /var/log hope this helps
Answer:
The difference between While loop and Do - While loop are explained below.
Explanation:
- While loop : It is a looping procedure in which the statements inside the while loop are executed depending on the condition outside the while before starting the loop.
- If the condition is true then the code inside loop is executed otherwise not.
- Do - While loop: It is a looping procedure in which the statements inside the loop get executed and then the condition at the end of the loop is checked.
- This means even the condition is fails the statements inside the loop are executed once.
- Do while loop name itself suggests that "do the while and then check the condition".
As data travels further over a wavelength or frequency, the radiation type goes down.
<h3>What is an electromagnetic spectrum?</h3>
An electromagnetic spectrum can be defined as a range of frequencies and wavelengths into which an electromagnetic wave is distributed into.
In Science, the electromagnetic spectrum consist of the following types of energy from highest to lowest frequency and shortest to longest wavelength:
In this context, we can infer and logically deduce that as data travels further over a wavelength or frequency within the electromagnetic spectrum, the radiation type goes down.
Read more on electromagnetic spectrum here: brainly.com/question/23423065
#SPJ1