• Register
0 votes
62 views

Problem:

I am new in programming and my logic is not good, can anyone give the right solution?
How to declare a character variable named c?
7 5 3
5,380 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution:

We can declare character variable named c as 

char c;
8 5 2
10,530 points

Related questions

0 votes
2 answers 57 views
57 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?
asked Feb 14, 2020 maddi86 5.4k points
0 votes
1 answer 15 views
15 views
Problem: My problem is the following: I have a class Nodo, which has as an attribute an array of pointers toto its same type (as to make a tree) and then I have a child class NodoAvlthat must inherit that attribute but the pointers must point to the same type , that is, point to NodoAvl. ... = T ()): Node <T> (data) {} int altu () {return alt;} }; Is there a way to do this? Thanks in advance.
asked Jan 1 sasha 5.3k points
0 votes
1 answer 36 views
36 views
Problem: Declare a reference variable of type File named myFile?
asked Apr 6, 2020 ArifulIslam 5.6k points
1 vote
2 answers 30 views
30 views
Problem: Declare a variable named myMenu suitable for holding references to Menu objects?
asked Mar 23, 2020 ArifulIslam 5.6k points
0 votes
1 answer 105 views
105 views
Problems:- Can any one help with one of the query I am facing in declaring variable type Declare a reference variable of type File named myFile. Any Idea
asked Feb 13, 2020 maddi86 5.4k points
0 votes
1 answer 9 views
9 views
Problem: I want to implement a kind of console (function menu_principal), where the user can go to different menus according to their choice. One of these options is to enter a directory (function dir_manager, accessed with the number 1). Once the user wants to end the execution, he must type the ... * option1 = 1; // <---- THIS IS THE ERROR return; } else if (* option1 == 9) { return; } } }
asked Jan 1 sasha 5.3k points
0 votes
1 answer 38 views
38 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? In most programming languages, before you can use any variable, you must include a ____ for it? a. declaration b. definition c. header d. proclamation
asked Feb 19, 2020 maddi86 5.4k points
0 votes
2 answers 62 views
62 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, 2020 maddi86 5.4k points
0 votes
1 answer 12 views
12 views
I need to make a [console] program that gets the full names of five people, as well as their three grades to calculate their average. Instead of declaring variable by variable string nom1, nom2 //... int cal1, cal2 //... I want to make a for loop (or ... at the end because "the identifiers are not defined". Is it possible to achieve this, or is it something that not even magic can achieve?
asked Nov 8, 2020 sasha 5.3k points
0 votes
1 answer 66 views
66 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, 2020 maddi86 5.4k points