• Register
0 votes
45 views

Problems:

I am new to programming, I need help, can anyone help me?

Declare a variable isACustomer suitable for representing a true or false value?

5.4k points

2 Answers

0 votes

Solutions:

Let me try to help you with your query.

The correct answer is: boolean isACustomer
  
Hope this might help you.

10.5k points
0 votes

Solution:

The Correct Answer of this question is boolean isACustomer

In computer programming, a declaration is a language construct that specifies properties of an identifier: it declares what a word (identifier) "means".[1] Declarations are most commonly used for functions, variables, constants, and classes, but can also be used for other entities such as enumerations and type definitions.[1] Beyond the name (the identifier itself) and the kind of entity (function, variable, etc.), declarations typically specify the data type (for variables and constants), or the type signature (for functions); types may also include dimensions, such as for arrays. A declaration is used to announce the existence of the entity to the compiler; this is important in those strongly typed languages that require functions, variables, and constants, and their types to be specified with a declaration before use, and is used in forward declaration.[2] The term "declaration" is frequently contrasted with the term "definition",[1] but meaning and usage varies significantly between languages; see below.

 

For Further Reading go to this link https://en.wikipedia.org/wiki/Declaration_(computer_programming)

 
17.3k points

Related questions

0 votes
1 answer 37 views
37 views
Problems: Can anyone give the right solution? Write a literal representing the false value?
asked Feb 14 maddi86 5.4k points
0 votes
2 answers 27 views
27 views
Problem: I am new in programming, I need help, can anyone help me? Declare an integer constant, MONTHS_IN_YEAR, whose value is 12?
asked Feb 18 maddi86 5.4k points
0 votes
1 answer 22 views
22 views
Problem: Can anyone help it was actually asked in exam as following and I need to know whether my answer was right or not? Write an expression that whose value is the fifth character of the String name?
asked Feb 24 maddi86 5.4k points
0 votes
1 answer 47 views
47 views
Problem: Write an expression whose value is the str that consists of the third to last character of the str associated with s I tried s[2:] didn't work. Can you please guide me with right solution?
asked Feb 19 maddi86 5.4k points
0 votes
1 answer 78 views
78 views
Problem: I am new in programming and stuck in a query, can anyone guide me? Write an expression that evaluates to True if the str associated with s starts with "p"?
asked Feb 17 maddi86 5.4k points