Umm, I guess you just try to do one? I don't know.. Sorry if I couldn't help out.
I believe you can do it!
I think you should get used input
Answer:
#include<ios>// HEADER FILe
#include<iomanip> // HEADER FILE
using namespace std;// namespace
int main() // main function
{
double tem=103.45632; // variable declaration
cout<<" The outside Temperature is:";
cout<<fixed<<setprecision(2)<<tem; // display
return 0;
}
Explanation:
<u>The following are the description of the program</u>.
- set the required header files and namespaces, then declare the main method and inside the main function.
- Set the double data type variable 'tem' and initialize the value '103.45632'.
- Finally, print the following message and print the output through the cout that is predefined function.
The program that generates 6 random numbers between 0 and 30 and makes mathematical computations is:
import random
import statistics
a = random.random()
b = random.random()
c = random.random()
d = random.random()
e = random.random()
f = random.random()
print("Generated Numbers:")
print(a, b, c, d, e, f)
seq = (a, b, c, d, e, f)
mean = statistics.mean(seq)
median = statistics.median(seq)
mode = statistics.mode(seq)
print("Mean =", mean)
print("Median =", median)
print("Mode =", mode)
Read more about programming here:
brainly.com/question/23275071
#SPJ1