Answer:
/*
* Program to print traingle using asterisk.
*/
#include<iostream>
using namespace std;
//Function to print n asterisk in a row.
void printAsterisk(int n)
{
for(int i = 0;i<n;i++)
cout<<"*";
}
int main()
{
//Variable to store size of trianle
int size;
cout<<"Enter the size of triangle"<<endl;
cin>>size;
//print asterik in increasing order line by line.
for(int i =0; i<size;i++)
{
printAsterisk(i);
cout<<endl;
}
//print asterik in decresing order line by line.
for(int i =size-1; i>0;i--)
{
printAsterisk(i-1);
cout<<endl;
}
}
Output:
Enter the size of triangle
10
*
**
***
****
*****
******
*******
********
*********
********
*******
******
*****
****
***
**
*
Explanation:
Since no programming language is mentioned therefore answer is provided in C++.
The above program will use two for loops to print the triangle using asterisk.
The first loop will print the asterisk line by line with each line having one more asterisk than the previous one till the size of the triangle.
The second for loop will print the asterisk using same logic as above but in reverse order.
Final output of triangle will be obtained.
Answer:
Instagram
it improved persons photoshop skills to put out better quality photos and videos and it can be an outlet for creative persons
Well, if he's using Google Drive or OneDrive it shows up in the main menu so My best guess would be Local Profile
Answer:
D. Cognitive systems can learn from their successes and failures
Explanation:
Cognitive System is a term used in Computer Science to describe an advanced computer in which it was built to think and behave like humans. In other words, it is a form of artificial intelligence, which has the ability to assess activities before taking them.
Hence, in this case, the right answer is "Cognitive systems can learn from their successes and failures," because this is an attribute of human being, in which cognitive computing is created to behave or have human reasoning.
Technology has helped tremendously business professionals to be more efficient.
2. Business professionals work on the basis of information . Management information is available at the click of the mouse.
3. Communication, within and outside the organisation, has become very easy.
4. Controls on Accounts has become more efficient and less tedious.
5. Work drudgery has been given a go by. Technology has given more free time which can be used for thinking and planning.