• Register
0 votes
116 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?
5.4k 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;
10.5k points

Related questions

0 votes
1 answer 7 views
7 views
Problem: Declare a character variable named c.
asked Jul 25 asha 121k points
0 votes
2 answers 121 views
121 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 34 views
34 views
Problem : Can somebody please tell me program of swapping of two numbers without using third variable in c?
asked Apr 3 Madhav96 2.3k points
0 votes
2 answers 106 views
106 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
1 vote
1 answer 105 views
105 views
Problem: I am stuck in this while learning Java: Write a literal representing the largest character value.
asked Apr 27 PkGuy 25.9k points
0 votes
1 answer 56 views
56 views
Problem: I tried by past 1 Week to short out from this problem, but j can't able to, that's why I am posting here if anyone know it's answer then please answer me.
asked Apr 3 niyatiry 3.9k points
0 votes
1 answer 69 views
69 views
Problem: Hello! I am trying to write a program that takes input from the user and determines whether the user entered a number, alphabet, or a special character. I am a beginner so, facing some difficulty in understanding the logic. Can somebody from here help me find out the solution? Thanks!
asked Feb 25 Code Learner 10.5k points
0 votes
1 answer 162 views
162 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
0 votes
1 answer 264 views
264 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, 2020 maddi86 5.4k points
0 votes
1 answer 10 views
10 views
Problem: Is there anyone who knows how to fix this problem : Java program to swap two numbers without using third variable?
asked Jun 21 Nahil 128k points