answersLogoWhite

0

HERE IS THE CODE FOR C++ 2010

#include <stdio.h>

int main ()

{

int i,j;

char prnt='*';

for(j=0;j<10;j++){

for(i=0;i<=j;i++){

printf("%2c",prnt);

}

printf("\n");

}

return 0;

}

 

User Avatar

Wiki User

13y ago

What else can I help you with?

Continue Learning about Engineering

What are the wildcard characters in C?

The wildcard characters in C programming include the asterisk (*) and the question mark (?). An asterisk stands for any missing number of characters in a string while a question mark represents exactly one missing character.


How do you write a program to make asterisk isosceles triangle using for loop in c plus plus?

* ** *** **** simply use dis... { int x,y; for(x=1;x&lt;=4;x++) { for(y=1;y&lt;=x;y++) printf("*"); printf("\n"); } }


How can you start the program 'read in the lengths of the sides of a triangle and determine whether the triangle is an isosceles triangle two sides are equal an equilateral triangle three sides are'?

This would depend on what programming language you wanted to write it in. For example, in Pascal, the code might look like this: Program Isosceles; Var A, B, C : Real; Begin WriteLn('Input side A.'); ReadLn(A); WriteLn('Input side B.'); ReadLn(B); WriteLn('Input side C.'); ReadLn(C); If A = B Then Begin If B = C Then Begin WriteLn('This triangle is equilateral.'); End Else Begin WriteLn('This triangle is isosceles.'); And so on.


What does asterisk do in python?

An asterisk is also known as "times by", or "x"


What is the concept of asterisk in c plus plus?

An asterisk in C++, such as int *data, is what's known as a pointer. A pointer is like a regular variable, but instead of holding a value, a pointer holds the memory location of the value. It's a somewhat difficult concept, and you can learn more about it here: See related links section below...

Related Questions

Code for creating pascal's triangle in C programming language?

code for creating pascal's triangle in C programming language?


How do you make the password character in Microsoft visual basic c plus plus?

The password character is usually an asterisk. ASCII code 42 (hex:2a).


How do you hide input password in c?

Do not echo the keystrokes, output an asterisk instead.


What are the wildcard characters in C?

The wildcard characters in C programming include the asterisk (*) and the question mark (?). An asterisk stands for any missing number of characters in a string while a question mark represents exactly one missing character.


What is the side c of the triangle?

Side c of a triangle is opposite angle C


Which symbols represent the wildcard characters in Access?

The asterisk * character.The asterisk * character.The asterisk * character.The asterisk * character.The asterisk * character.The asterisk * character.The asterisk * character.The asterisk * character.The asterisk * character.The asterisk * character.The asterisk * character.


What is an asterisk in technology?

In technology, an asterisk (*) is a symbol commonly used to denote a wildcard character in search queries, indicating that any character or string can be substituted in its place. It is also used in programming and coding to represent multiplication or dereferencing pointers in languages like C and C++. Additionally, in documentation and user interfaces, an asterisk often denotes a footnote or indicates required fields in forms.


How do ou spell asterisk?

Asterisk


How do you write a program to make asterisk isosceles triangle using for loop in c plus plus?

* ** *** **** simply use dis... { int x,y; for(x=1;x&lt;=4;x++) { for(y=1;y&lt;=x;y++) printf("*"); printf("\n"); } }


Triangle ABC angle A is 60 what is angle C?

triangle ABC with rigth at C


What is the star shaped symbol on a keyboard or keypad called?

An asterisk. asterisk In language it's an asterisk ... but to a programmer it's called a "splat".


How can you start the program 'read in the lengths of the sides of a triangle and determine whether the triangle is an isosceles triangle two sides are equal an equilateral triangle three sides are'?

This would depend on what programming language you wanted to write it in. For example, in Pascal, the code might look like this: Program Isosceles; Var A, B, C : Real; Begin WriteLn('Input side A.'); ReadLn(A); WriteLn('Input side B.'); ReadLn(B); WriteLn('Input side C.'); ReadLn(C); If A = B Then Begin If B = C Then Begin WriteLn('This triangle is equilateral.'); End Else Begin WriteLn('This triangle is isosceles.'); And so on.