Answer:
Without Recursives
// Program is written using C++
// Comments are used for explanatory purpose
int main()
{
// Declare integer number, n
int n;
cout<<"Enter number of starts to print"
cin>>n;
// Iterate through to print * pattern
for(i=n; i>0;i--)
{
for(j=n; i>j-1;j--)
{
cout<<"*";
}
cout<"\n";
}
for(i=0; i< n; i++)
{
for(j=0;j<=i;j++)
{
cout<<"*";;
}
cout<"\n";
}
return 0;
}
Using Recursive
#include <iostream>
using namespace std;
void printStars(int lines);
int main()
{
// prompt the user to enter a number
int lines;
cin>> lines;
printStars(int lines);
return 0;
}
void printStars(int lines)
{
if (lines < 1)
return;
// to print the stars of a particular row
if (i <= lines)
{
cout << "* ";
// recursively print rest of the stars
// of the row
printPatternRecur(lines, i + 1);
}
else
{
// change line
cout << endl;
// print stars
printPatternRecur(lines-1, 1);
}
}
Answer:
Explanation:
also ı wanna found this question's solution,hope we can find :)
Answer:
Z= 0.868
Explanation:
Given that
P= 3 MPa
T = 160 K
We know that
P v= Z R T
P= Pressure
v = specific volume
R= gas constant
T = Absolute temperature
Z= Compressibility factor
Here specific volume of gas is not given so we assume that specific volume gas

We know that for oxygen gas constant
R = 0.259 KJ/kg.K
Now by putting the values
P v = Z R T
3000 x 0.012 = Z x 0.259 x 160
Z= 0.868
So Compressibility factor is 0.868.
Answer:
;-;
Explanation:
am i dyslexic or is this another language