Google Android OS is correct
Answer:
it will display in this pattern X XX XXX XXXX XXXXX
#include <iostream>
using namespace std;
int
main ()
{
int a,i, j=0;
cout << "enter number for length of triangle";
cin >> i;
for ( a = 1; a <= i; a++)
{
for (j = 1; j <= a; j++)
{
cout << "X";
}
cout<<" ";
}
}
for this
X
XX
XXX
XXXX
XXXXX
#include <iostream>
using namespace std;
int
main ()
{
int a,i, j=0;
cout << "enter number for length of triangle";
cin >> i;
for ( a = 1; a <= i; a++)
{
for (j = 1; j <= a; j++)
{
cout << "X";
}
cout<<endl;
}
}
Answer:
#include <iostream>
using namespace std;
int main()
{
float celsius;
cout<<"Enter the temperature in Celsius: ";
cin>>celsius;
float Fahrenheit = 1.8 * celsius + 32;
cout<<"The temperature in Fahrenheit is: "<<Fahrenheit<<endl;
}
Explanation:
first include the library iostream in the c++ programming.
Then, create the main function and declare the variable celsius.
cout is used to print the message on the screen.
cin is used to store the user enter value in the variable.
then, apply the formula for calculating the temperature in Fahrenheit
and store the result in the variable.
Finally, print the result.
Answer:
The correct option is A
Explanation:
In project management, earliest finish time for activity A refers to the earliest start time for succeeding activities such as B and C to start.
Assume that activities A and B comes before C, the earliest finish time for C can be arrived at by computing the earliest start-finish (critical path) of the activity with the largest EF.
That is, if two activities (A and B) come before activity C, one can estimate how long it's going to take to complete activity C if ones knows how long activity B will take (being the activity with the largest earliest finish time).
Cheers!