• Register
0 votes
66 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?
7 5 3
5,380 points

Please log in or register to answer this question.

2 Answers

0 votes

Solution:

Solution for your query is 

final int MONTHS_IN_YEAR = 12;

Hope this might will help you.

8 5 2
10,530 points
0 votes

Solution:

The Solution of this query is
final int MONTHS_IN_YEAR = 12;

For Further Query Go To This Page http://aceofbaseprogrammer.blogspot.com/2011/10/java-programming-helper.html

10 6 4
31,120 points

Related questions

0 votes
1 answer 67 views
67 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 105 views
105 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
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 62 views
62 views
Problems: Can anyone give the right solution? Write a literal representing the false value?
asked Feb 14, 2020 maddi86 5.4k points
0 votes
1 answer 161 views
161 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, 2020 maddi86 5.4k points
0 votes
1 answer 90 views
90 views
Solutions: I am new in programming and my logic is not good, can anyone give the right solution? Write an expression that evaluates to true if and only if the C-string s equals the C-string "end"?
asked Feb 14, 2020 maddi86 5.4k points
0 votes
1 answer 10 views
10 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 9 views
9 views
Problem: I want to write a function that receives two pointers to functions and returns a pointer to the function composicion. Is it possible to do that? This was my idea: typedef int (* integerFunction) (int); integer function composition (integer function f1, integer function f2) { return f1 (f2); }
asked Jan 1 sasha 5.3k points
0 votes
1 answer 25 views
25 views
Problem: Hi there! I am new to the world of programming. My programming teacher gave me an assignment in which I have to write a program in which there would be a function that will take two strings as input from user and will compare the size of both strings ... the larger string of the two. I have no clue how to do that. Please provide me with the sample program with proper description. Thanks
asked Nov 25, 2020 Code Learner 5.3k points
0 votes
2 answers 91 views
91 views
Problem: I am new, I need help, can anyone help me by filling in the blanks? The ____ function determines the lowest number in a range?
asked Feb 19, 2020 maddi86 5.4k points